Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -44,4 +44,5 @@ HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
|
|
| 44 |
CMD curl -f http://localhost:7860/health || exit 1
|
| 45 |
|
| 46 |
# Start the FastAPI application on port 7860 (HF Spaces requirement)
|
| 47 |
-
CMD ["uvicorn", "
|
|
|
|
|
|
| 44 |
CMD curl -f http://localhost:7860/health || exit 1
|
| 45 |
|
| 46 |
# Start the FastAPI application on port 7860 (HF Spaces requirement)
|
| 47 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
| 48 |
+
|