tgey commited on
Commit
a1ed504
·
1 Parent(s): 7e2ecc0

dockerfile headless

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -1
Dockerfile CHANGED
@@ -30,4 +30,11 @@ EXPOSE 8501
30
 
31
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
32
 
33
- ENTRYPOINT ["streamlit", "run", "main.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.headless=true", "--server.enableXsrfProtection=false"]
 
 
 
 
 
 
 
 
30
 
31
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
32
 
33
+ # ENTRYPOINT ["streamlit", "run", "main.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.headless=true", "--server.enableXsrfProtection=false"]
34
+
35
+ CMD streamlit run main.py \
36
+ --server.port 8501 \
37
+ --server.headless true \
38
+ --server.enableCORS false \
39
+ --server.enableXsrfProtection false \
40
+ --server.fileWatcherType none