Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -14,10 +14,10 @@ COPY data/ ./data/
|
|
| 14 |
COPY mask/ ./mask/
|
| 15 |
COPY weight/ ./weight/
|
| 16 |
|
| 17 |
-
RUN
|
| 18 |
|
| 19 |
EXPOSE 8501
|
| 20 |
|
| 21 |
-
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 22 |
|
| 23 |
ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
|
|
|
| 14 |
COPY mask/ ./mask/
|
| 15 |
COPY weight/ ./weight/
|
| 16 |
|
| 17 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 18 |
|
| 19 |
EXPOSE 8501
|
| 20 |
|
| 21 |
+
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health || exit 1
|
| 22 |
|
| 23 |
ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|