Update Dockerfile
Browse files- 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 |
-
|
| 20 |
|
| 21 |
-
|
| 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"]
|