Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
# FrontierLabs-Env Dockerfile
|
| 2 |
# Hugging Face Spaces compatible (port 7860, non-root user)
|
| 3 |
|
| 4 |
-
FROM python:3.11-slim
|
| 5 |
|
| 6 |
# HF Spaces metadata
|
| 7 |
LABEL maintainer="FrontierLabs Team"
|
|
@@ -41,4 +41,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=15s --retries=3 \
|
|
| 41 |
CMD curl -f http://localhost:7860/health || exit 1
|
| 42 |
|
| 43 |
# Start the FastAPI server
|
| 44 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]
|
|
|
|
| 1 |
# FrontierLabs-Env Dockerfile
|
| 2 |
# Hugging Face Spaces compatible (port 7860, non-root user)
|
| 3 |
|
| 4 |
+
FROM python:3.11.8-slim-bookworm
|
| 5 |
|
| 6 |
# HF Spaces metadata
|
| 7 |
LABEL maintainer="FrontierLabs Team"
|
|
|
|
| 41 |
CMD curl -f http://localhost:7860/health || exit 1
|
| 42 |
|
| 43 |
# Start the FastAPI server
|
| 44 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]
|