James McCool commited on
Commit
1ebed9b
·
1 Parent(s): b62126c

Remove Streamlit configuration setup from Dockerfile, including secrets and environment variables. This change simplifies the Docker setup by eliminating unnecessary configurations, streamlining the deployment process.

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -9
Dockerfile CHANGED
@@ -12,17 +12,8 @@ RUN apt-get update && apt-get install -y \
12
  COPY requirements.txt ./
13
  COPY src/ ./src/
14
 
15
- RUN mkdir -p .streamlit
16
- COPY .streamlit/secrets.toml .streamlit/secrets.toml
17
-
18
  RUN pip3 install -r requirements.txt
19
 
20
- # Disable Streamlit usage statistics
21
- ENV STREAMLIT_SERVER_GATHER_USAGE_STATS=false
22
-
23
- # Set Streamlit config directory to app directory
24
- ENV STREAMLIT_CONFIG_DIR=/app/.streamlit
25
-
26
  EXPOSE 8501
27
 
28
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
 
12
  COPY requirements.txt ./
13
  COPY src/ ./src/
14
 
 
 
 
15
  RUN pip3 install -r requirements.txt
16
 
 
 
 
 
 
 
17
  EXPOSE 8501
18
 
19
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health