iBrokeTheCode commited on
Commit
3ce4bfc
·
1 Parent(s): a2c2878

fix: Deactivate telemetry

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -3
  2. README.md +2 -7
Dockerfile CHANGED
@@ -13,9 +13,8 @@ COPY src/ ./src/
13
 
14
  RUN pip3 install -r requirements.txt
15
 
16
- # Set Streamlit config/data folder to a writable path
17
- ENV HOME=/app
18
- RUN mkdir -p /app/.streamlit
19
 
20
  EXPOSE 8501
21
 
 
13
 
14
  RUN pip3 install -r requirements.txt
15
 
16
+ RUN mkdir -p /app/.streamlit \
17
+ && echo "[browser]\ngatherUsageStats = false" > /app/.streamlit/config.toml
 
18
 
19
  EXPOSE 8501
20
 
README.md CHANGED
@@ -6,15 +6,10 @@ colorTo: red
6
  sdk: docker
7
  app_port: 8501
8
  tags:
9
- - streamlit
10
  pinned: false
11
  short_description: A CNN-based image classification with TensorFlow
12
  license: mit
13
  ---
14
 
15
- # Welcome to Streamlit!
16
-
17
- Edit `/src/streamlit_app.py` to customize this app to your heart's desire. :heart:
18
-
19
- If you have any questions, checkout our [documentation](https://docs.streamlit.io) and [community
20
- forums](https://discuss.streamlit.io).
 
6
  sdk: docker
7
  app_port: 8501
8
  tags:
9
+ - streamlit
10
  pinned: false
11
  short_description: A CNN-based image classification with TensorFlow
12
  license: mit
13
  ---
14
 
15
+ # Image Classifier with CNN