7H4M3R commited on
Commit
55d891d
·
verified ·
1 Parent(s): 0e66f23

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -1
Dockerfile CHANGED
@@ -14,8 +14,13 @@ COPY src/ ./src/
14
 
15
  RUN pip3 install -r requirements.txt
16
 
 
 
17
  # Create writable tmp directory
18
- RUN mkdir -p /app/tmp && chmod -R 777 /app/tmp
 
 
 
19
 
20
  EXPOSE 8501
21
 
 
14
 
15
  RUN pip3 install -r requirements.txt
16
 
17
+
18
+
19
  # Create writable tmp directory
20
+ RUN mkdir -p /app/tmp /app/.streamlit && chmod -R 777 /app/tmp /app/.streamlit
21
+ ENV STREAMLIT_CONFIG_DIR=/app/.streamlit
22
+
23
+
24
 
25
  EXPOSE 8501
26