Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -52,5 +52,6 @@ EXPOSE 8000
|
|
| 52 |
HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
|
| 53 |
CMD curl -fsS "http://127.0.0.1:${PORT}/health" || exit 1
|
| 54 |
|
| 55 |
-
# Use $PORT when present (Render sets it), default to 8000 locally
|
| 56 |
-
CMD ["sh","-c","uvicorn backend:app --host 0.0.0.0 --port ${PORT:-8000
|
|
|
|
|
|
| 52 |
HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
|
| 53 |
CMD curl -fsS "http://127.0.0.1:${PORT}/health" || exit 1
|
| 54 |
|
| 55 |
+
# Use $PORT when present (Render sets it), default to 8000 locally - application started
|
| 56 |
+
CMD ["sh","-c","uvicorn backend:app --host 0.0.0.0 --port ${PORT:-8000
|
| 57 |
+
|