ArabovMK commited on
Commit
132b529
·
verified ·
1 Parent(s): 77bba7d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -16,6 +16,6 @@ COPY . .
16
 
17
  EXPOSE 7860
18
 
19
- HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
20
 
21
- ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
 
16
 
17
  EXPOSE 7860
18
 
19
+ HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health || exit 1
20
 
21
+ ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false", "--server.enableCORS=false"]