Spaces:
Running
Running
Update Dockerfile
Browse files- 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
|
| 20 |
|
| 21 |
RUN pip3 install -r requirements.txt
|
| 22 |
|
| 23 |
EXPOSE 7860
|
| 24 |
|
| 25 |
-
HEALTHCHECK CMD curl --fail http://localhost:
|
| 26 |
|
| 27 |
-
ENTRYPOINT ["streamlit", "run", "
|
| 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 |
|