Navya-Sree commited on
Commit
b89714e
·
verified ·
1 Parent(s): 4e20f90

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -5
Dockerfile CHANGED
@@ -8,13 +8,12 @@ RUN apt-get update && apt-get install -y \
8
  git \
9
  && rm -rf /var/lib/apt/lists/*
10
 
 
 
 
11
  COPY requirements.txt ./
12
  COPY src/ ./src/
13
 
14
  RUN pip3 install -r requirements.txt
15
 
16
- EXPOSE 8501
17
-
18
- HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
19
-
20
- ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
8
  git \
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
+ # Install the build tools first
12
+ RUN pip3 install --upgrade pip setuptools wheel
13
+
14
  COPY requirements.txt ./
15
  COPY src/ ./src/
16
 
17
  RUN pip3 install -r requirements.txt
18
 
19
+ # The rest of the Dockerfile for running the app