Spaces:
Running
Running
chore: disable CORS and XSRF protection for the Streamlit server.
Browse files- 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"]
|