Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
FROM python:3.
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
|
@@ -16,10 +16,10 @@ COPY extra_systole.wav ./
|
|
| 16 |
COPY extra_hystole.wav ./
|
| 17 |
COPY src/ ./src/
|
| 18 |
|
| 19 |
-
RUN
|
| 20 |
|
| 21 |
-
EXPOSE
|
| 22 |
|
| 23 |
-
HEALTHCHECK CMD curl --fail http://localhost:
|
| 24 |
|
| 25 |
-
ENTRYPOINT ["streamlit", "run", "src/app.py", "--server.port=
|
|
|
|
| 1 |
+
FROM python:3.10-slim
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
|
|
|
| 16 |
COPY extra_hystole.wav ./
|
| 17 |
COPY src/ ./src/
|
| 18 |
|
| 19 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 20 |
|
| 21 |
+
EXPOSE 7860
|
| 22 |
|
| 23 |
+
HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health || exit 1
|
| 24 |
|
| 25 |
+
ENTRYPOINT ["streamlit", "run", "src/app.py", "--server.port=7860", "--server.address=0.0.0.0"]
|