shingguy1 commited on
Commit
bc463fc
·
verified ·
1 Parent(s): 5cc3483

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 and increased upload size limit (1GB)
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"]