bharathmunakala commited on
Commit
2a9cc47
·
verified ·
1 Parent(s): 99cf6c6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -16,12 +16,12 @@ RUN apt-get update && apt-get install -y \
16
  && rm -rf /var/lib/apt/lists/*
17
 
18
  COPY requirements.txt ./
19
- COPY . .
20
 
21
- RUN pip3 install -r requirements.txt
22
 
23
  EXPOSE 8501
24
 
25
- HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
26
 
27
  ENTRYPOINT ["streamlit", "run", "HOME.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
16
  && rm -rf /var/lib/apt/lists/*
17
 
18
  COPY requirements.txt ./
19
+ RUN pip install --no-cache-dir -r requirements.txt
20
 
21
+ COPY . .
22
 
23
  EXPOSE 8501
24
 
25
+ HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health || exit 1
26
 
27
  ENTRYPOINT ["streamlit", "run", "HOME.py", "--server.port=8501", "--server.address=0.0.0.0"]