rachman commited on
Commit
8b76d77
·
verified ·
1 Parent(s): 736406f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -17,8 +17,10 @@ RUN pip3 install -r requirements.txt
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
  EXPOSE 8501
23
 
24
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
 
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
23
+ ENV MPLCONFIGDIR=/app/.matplotlib
24
  EXPOSE 8501
25
 
26
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health