Spaces:
Sleeping
Sleeping
Add application file
Browse files- Dockerfile +11 -0
Dockerfile
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM oneflowinc/onediff:cu118
|
2 |
+
WORKDIR /code
|
3 |
+
|
4 |
+
ARG LIVE_XL_TAR=live_xl_rel_ubuntu-22.04_202403111616.tar
|
5 |
+
RUN wget https://github.com/jackalcooper/live_xl/releases/download/latest/${LIVE_XL_TAR} && \
|
6 |
+
tar xvf ${LIVE_XL_TAR} \
|
7 |
+
unzip ${LIVE_XL_TAR}.zip \
|
8 |
+
live_xl_rel_ubuntu-22.04_202403111616.tar
|
9 |
+
ENV PORT=7860 SECRET_KEY_BASE="Z/VeN8hw0cQruiL3YyWG52IPq+hnG9Ucj1RuW0263Iddmd8f+j7i/b7NCs1fiLCx"
|
10 |
+
|
11 |
+
CMD ["live_xl/bin/server"]
|