Spaces:
Sleeping
Sleeping
fix: XSR protection 403 error
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -43,4 +43,4 @@ EXPOSE 8501
|
|
| 43 |
HEALTHCHECK --interval=30s --timeout=5s --start-period=45s --retries=3 \
|
| 44 |
CMD ["/app/.venv/bin/python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8501/_stcore/health', timeout=5).read()"]
|
| 45 |
|
| 46 |
-
CMD ["/app/.venv/bin/python", "-m", "streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
|
|
|
| 43 |
HEALTHCHECK --interval=30s --timeout=5s --start-period=45s --retries=3 \
|
| 44 |
CMD ["/app/.venv/bin/python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8501/_stcore/health', timeout=5).read()"]
|
| 45 |
|
| 46 |
+
CMD ["/app/.venv/bin/python", "-m", "streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]
|