rachman commited on
Commit
d55e556
·
verified ·
1 Parent(s): acff726

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -16,7 +16,6 @@ RUN pip3 install -r requirements.txt
16
 
17
  # Create config directories and set environment variables
18
  RUN mkdir -p /app/.streamlit /app/.matplotlib && \
19
- echo "[general]\ntelemetryEnabled = false\n[server]\nfileWatcherType = \"none\"" > /app/.streamlit/config.toml && \
20
  chmod -R 777 /app/.streamlit /app/.matplotlib
21
 
22
  ENV STREAMLIT_CONFIG_DIR=/app/.streamlit
@@ -25,4 +24,4 @@ EXPOSE 8501
25
 
26
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
27
 
28
- ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
16
 
17
  # Create config directories and set environment variables
18
  RUN mkdir -p /app/.streamlit /app/.matplotlib && \
 
19
  chmod -R 777 /app/.streamlit /app/.matplotlib
20
 
21
  ENV STREAMLIT_CONFIG_DIR=/app/.streamlit
 
24
 
25
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
26
 
27
+ ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0","--server.enableXsrfProtection=false"]