Spaces:
Running
Running
Add withih_iframe and create /data dir directly
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
@@ -3,14 +3,12 @@ FROM aledsz/livebook:latest
|
|
3 |
ENV LIVEBOOK_APP_SERVICE_NAME "π³ Hugging Face - Livebook"
|
4 |
ENV LIVEBOOK_APP_SERVICE_URL "https://huggingface.co/spaces/aleDsz/livebook"
|
5 |
ENV LIVEBOOK_UPDATE_INSTRUCTIONS_URL "https://livebook.dev"
|
6 |
-
ENV
|
7 |
ENV LIVEBOOK_DATA_PATH "/data"
|
8 |
ENV LIVEBOOK_PORT 7860
|
9 |
-
ENV LIVEBOOK_IFRAME_PORT 7861
|
10 |
|
11 |
EXPOSE 7860
|
12 |
-
EXPOSE 7861
|
13 |
|
14 |
-
ADD ./data /data
|
15 |
USER root
|
|
|
16 |
RUN chmod 777 /data
|
|
|
3 |
ENV LIVEBOOK_APP_SERVICE_NAME "π³ Hugging Face - Livebook"
|
4 |
ENV LIVEBOOK_APP_SERVICE_URL "https://huggingface.co/spaces/aleDsz/livebook"
|
5 |
ENV LIVEBOOK_UPDATE_INSTRUCTIONS_URL "https://livebook.dev"
|
6 |
+
ENV LIVEBOOK_WITHIN_IFRAME "true"
|
7 |
ENV LIVEBOOK_DATA_PATH "/data"
|
8 |
ENV LIVEBOOK_PORT 7860
|
|
|
9 |
|
10 |
EXPOSE 7860
|
|
|
11 |
|
|
|
12 |
USER root
|
13 |
+
RUN mkdir -p /data
|
14 |
RUN chmod 777 /data
|