melisklc0 commited on
Commit
76cb83f
·
verified ·
1 Parent(s): 9ab05dd

fix: XSR protection 403 error

Browse files
Files changed (1) hide show
  1. 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"]