Spaces:
Running
Running
Fix Dockerfile to use uvicorn for FastAPI endpoints
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# SHL Assessment Recommendation Engine
|
| 2 |
-
# HuggingFace Spaces with Gradio UI
|
| 3 |
|
| 4 |
FROM python:3.10-slim
|
| 5 |
|
|
@@ -16,4 +16,4 @@ COPY --chown=user . /app
|
|
| 16 |
|
| 17 |
EXPOSE 7860
|
| 18 |
|
| 19 |
-
CMD ["
|
|
|
|
| 1 |
# SHL Assessment Recommendation Engine
|
| 2 |
+
# HuggingFace Spaces with FastAPI + Gradio UI
|
| 3 |
|
| 4 |
FROM python:3.10-slim
|
| 5 |
|
|
|
|
| 16 |
|
| 17 |
EXPOSE 7860
|
| 18 |
|
| 19 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|