James McCool commited on
Commit
858e758
·
1 Parent(s): 02bc151

Add environment variable to disable Streamlit usage statistics in Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -17,6 +17,9 @@ COPY .streamlit/secrets.toml .streamlit/secrets.toml
17
 
18
  RUN pip3 install -r requirements.txt
19
 
 
 
 
20
  EXPOSE 8501
21
 
22
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
 
17
 
18
  RUN pip3 install -r requirements.txt
19
 
20
+ # Disable Streamlit usage statistics
21
+ ENV STREAMLIT_SERVER_GATHER_USAGE_STATS=false
22
+
23
  EXPOSE 8501
24
 
25
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health