kusatmer commited on
Commit
87ea141
·
1 Parent(s): 96c41f7

chore: disable CORS and XSRF protection for the Streamlit server.

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -20,4 +20,4 @@ COPY . .
20
  EXPOSE 8501
21
 
22
  # Run the application
23
- CMD ["streamlit", "run", "streamlit_app.py", "--server.address", "0.0.0.0", "--server.port", "7860"]
 
20
  EXPOSE 8501
21
 
22
  # Run the application
23
+ CMD ["streamlit", "run", "streamlit_app.py", "--server.address", "0.0.0.0", "--server.port", "7860", "--server.enableCORS", "false", "--server.enableXsrfProtection", "false"]