fabiogra commited on
Commit
83d9293
1 Parent(s): 3a1603f

fix: disable XSRF and CORS in entrypoint

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -30,4 +30,4 @@ EXPOSE 7860
30
  HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
31
  RUN --mount=type=secret,id=PREPARE_SAMPLES,mode=0444 ./prepare_samples.sh
32
 
33
- ENTRYPOINT ["streamlit", "run", "app/header.py", "--server.port=7860", "--server.address=0.0.0.0"]
 
30
  HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
31
  RUN --mount=type=secret,id=PREPARE_SAMPLES,mode=0444 ./prepare_samples.sh
32
 
33
+ ENTRYPOINT ["streamlit", "run", "app/header.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]