jonatanklosko commited on
Commit
e0735bc
1 Parent(s): 8bff59f

Add apps warmup on build

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -5,6 +5,7 @@ ENV LIVEBOOK_APP_SERVICE_URL "https://huggingface.co/spaces/$SPACE_AUTHOR_NAME/$
5
  ENV LIVEBOOK_UPDATE_INSTRUCTIONS_URL "https://livebook.dev"
6
  ENV LIVEBOOK_WITHIN_IFRAME "true"
7
  ENV LIVEBOOK_APPS_PATH "/public-apps"
 
8
  ENV LIVEBOOK_DATA_PATH "/data"
9
  ENV LIVEBOOK_PORT 7860
10
 
@@ -13,3 +14,4 @@ USER root
13
  COPY public-apps/ /public-apps
14
  RUN mkdir -p /data
15
  RUN chmod 777 /data
 
 
5
  ENV LIVEBOOK_UPDATE_INSTRUCTIONS_URL "https://livebook.dev"
6
  ENV LIVEBOOK_WITHIN_IFRAME "true"
7
  ENV LIVEBOOK_APPS_PATH "/public-apps"
8
+ ENV LIVEBOOK_APPS_PATH_WARMUP "manual"
9
  ENV LIVEBOOK_DATA_PATH "/data"
10
  ENV LIVEBOOK_PORT 7860
11
 
 
14
  COPY public-apps/ /public-apps
15
  RUN mkdir -p /data
16
  RUN chmod 777 /data
17
+ RUN /app/bin/warmup_apps.sh