IbrhaimBajwa313 commited on
Commit
db33434
·
verified ·
1 Parent(s): 48a14b5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -6,5 +6,6 @@ COPY requirements.txt .
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
8
  COPY . .
 
9
 
10
  CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port=7860", "--server.address=0.0.0.0"]
 
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
8
  COPY . .
9
+ HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health or exit 1
10
 
11
  CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port=7860", "--server.address=0.0.0.0"]