Hasitha16 commited on
Commit
7f93129
·
verified ·
1 Parent(s): 9cfb582

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -25,8 +25,8 @@ ENV XDG_CONFIG_HOME=/tmp
25
  RUN pip install --upgrade pip
26
  RUN pip install -r requirements.txt
27
 
28
- # Create writable .streamlit config folder
29
- RUN mkdir -p /tmp/.streamlit
30
 
31
  # Expose ports
32
  EXPOSE 7860
 
25
  RUN pip install --upgrade pip
26
  RUN pip install -r requirements.txt
27
 
28
+ # Allow Streamlit to write telemetry & config
29
+ RUN mkdir -p /tmp/.streamlit && chmod -R 777 /tmp/.streamlit
30
 
31
  # Expose ports
32
  EXPOSE 7860