Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -27,5 +27,5 @@ EXPOSE 8501
|
|
| 27 |
# Set environment variable for Hugging Face cache
|
| 28 |
ENV HUGGINGFACE_HUB_CACHE=/tmp/cache
|
| 29 |
|
| 30 |
-
# Run Streamlit with the correct file path
|
| 31 |
-
CMD ["streamlit", "run", "src/streamlit_app.py", "--server.maxUploadSize=1000", "--server.port=8501"]
|
|
|
|
| 27 |
# Set environment variable for Hugging Face cache
|
| 28 |
ENV HUGGINGFACE_HUB_CACHE=/tmp/cache
|
| 29 |
|
| 30 |
+
# Run Streamlit with the correct file path, increased upload size, and disabled XSRF protection
|
| 31 |
+
CMD ["streamlit", "run", "src/streamlit_app.py", "--server.maxUploadSize=1000", "--server.port=8501", "--server.enableXsrfProtection=false"]
|