Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -25,10 +25,10 @@ ENV PATH="/app/.venv/bin:$PATH"
|
|
| 25 |
# Install project dependencies from pyproject.toml and uv.lock
|
| 26 |
#RUN uv pip install --no-cache-dir -r /app/uv.lock
|
| 27 |
RUN uv sync --locked
|
| 28 |
-
# Make port
|
| 29 |
-
EXPOSE
|
| 30 |
|
| 31 |
-
HEALTHCHECK CMD curl --fail http://localhost:
|
| 32 |
|
| 33 |
# Run app.py when the container launches
|
| 34 |
CMD ["streamlit", "run", "app.py","--server.port=8501", "--server.address=0.0.0.0"]
|
|
|
|
| 25 |
# Install project dependencies from pyproject.toml and uv.lock
|
| 26 |
#RUN uv pip install --no-cache-dir -r /app/uv.lock
|
| 27 |
RUN uv sync --locked
|
| 28 |
+
# Make port 7860 available to the world outside this container
|
| 29 |
+
EXPOSE 7860
|
| 30 |
|
| 31 |
+
HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
|
| 32 |
|
| 33 |
# Run app.py when the container launches
|
| 34 |
CMD ["streamlit", "run", "app.py","--server.port=8501", "--server.address=0.0.0.0"]
|