aleDsz commited on
Commit
cf63a57
β€’
1 Parent(s): bcfa71d

Add withih_iframe and create /data dir directly

Browse files
Files changed (1) hide show
  1. 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 LIVEBOOK_ROOT_PATH "/data"
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