7H4M3R commited on
Commit
3a76f33
·
verified ·
1 Parent(s): 1835a6e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -17,10 +17,12 @@ RUN pip3 install -r requirements.txt
17
 
18
 
19
  # Create writable tmp directory
20
- RUN mkdir -p /app/tmp /app/.streamlit /.cache && chmod -R 777 /app/tmp /app/.streamlit /.cache
21
  ENV STREAMLIT_CONFIG_DIR=/app/.streamlit
22
 
23
-
 
 
24
 
25
  EXPOSE 8501
26
 
 
17
 
18
 
19
  # Create writable tmp directory
20
+ RUN mkdir -p /app/tmp /app/.streamlit /.cache && chmod -R 777 / /app/tmp /app/.streamlit /.cache
21
  ENV STREAMLIT_CONFIG_DIR=/app/.streamlit
22
 
23
+ # Set env vars to avoid PyTorch watcher issues
24
+ ENV STREAMLIT_DISABLE_WATCHDOG_WARNINGS=true
25
+ ENV STREAMLIT_SERVER_RUN_ON_SAVE=false
26
 
27
  EXPOSE 8501
28