Spaces:
Running
Running
Update Dockerfile
Browse files- 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 |
-
|
|
|
19 |
echo "[server]\n\
|
20 |
enableCORS = false\n\
|
21 |
enableXsrfProtection = false\n\
|
22 |
-
" > /
|
|
|
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 |
|