123Divyansh commited on
Commit
a86176a
·
verified ·
1 Parent(s): d6091f9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -15,11 +15,13 @@ COPY src/ ./src/
15
  RUN pip3 install -r requirements.txt
16
 
17
  # Add the Streamlit config here
18
- RUN mkdir -p /root/.streamlit && \
 
19
  echo "[server]\n\
20
  enableCORS = false\n\
21
  enableXsrfProtection = false\n\
22
- " > /root/.streamlit/config.toml
 
23
 
24
  EXPOSE 8501
25
 
 
15
  RUN pip3 install -r requirements.txt
16
 
17
  # Add the Streamlit config here
18
+ ENV HOME=/app
19
+ RUN mkdir -p /app/.streamlit && \
20
  echo "[server]\n\
21
  enableCORS = false\n\
22
  enableXsrfProtection = false\n\
23
+ " > /app/.streamlit/config.toml
24
+
25
 
26
  EXPOSE 8501
27