PatienceIzere commited on
Commit
c138d19
·
verified ·
1 Parent(s): 9912b12

Update Dockerfile

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