Spaces:
Runtime error
Runtime error
update docker file
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -35,5 +35,5 @@ EXPOSE 8000
|
|
35 |
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
|
36 |
CMD curl -f http://localhost:8000/health || exit 1
|
37 |
|
38 |
-
# Run
|
39 |
-
CMD ["
|
|
|
35 |
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
|
36 |
CMD curl -f http://localhost:8000/health || exit 1
|
37 |
|
38 |
+
# Run FastAPI using Uvicorn
|
39 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000", "--log-level", "info"]
|