Michael Rey commited on
Commit
f57e69a
·
1 Parent(s): 4905a6d

changes in Dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -2
  2. config.toml +0 -8
Dockerfile CHANGED
@@ -1,5 +1,4 @@
1
  FROM python:3.9-slim
2
- SHELL ["/bin/bash", "-c"]
3
 
4
  WORKDIR /app
5
 
@@ -19,4 +18,4 @@ EXPOSE 8501
19
 
20
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
21
 
22
- ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0" "--server.enableXsrfProtection=false"]
 
1
  FROM python:3.9-slim
 
2
 
3
  WORKDIR /app
4
 
 
18
 
19
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
20
 
21
+ ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
config.toml DELETED
@@ -1,8 +0,0 @@
1
- [server]
2
- headless = true
3
- port = 7860
4
- enableCORS = false
5
-
6
- [global]
7
- disableUsageStats = true
8
- disableWatchdogWarning = true