Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -24,5 +24,5 @@ COPY --chown=user . /app
|
|
24 |
# Expose port 7860 (required by Hugging Face Spaces)
|
25 |
EXPOSE 7860
|
26 |
|
27 |
-
# Start the FastAPI app using uvicorn
|
28 |
CMD ["python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
24 |
# Expose port 7860 (required by Hugging Face Spaces)
|
25 |
EXPOSE 7860
|
26 |
|
27 |
+
# Start the FastAPI app using uvicorn via python -m to ensure it's found
|
28 |
CMD ["python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|