Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -21,5 +21,5 @@ COPY --chown=user . .
|
|
21 |
# Command to run the application.
|
22 |
# Hugging Face Spaces expects the app to listen on port 7860.
|
23 |
# The command points to the `api_app` object inside the `api/main.py` file.
|
24 |
-
CMD ["uvicorn", "
|
25 |
|
|
|
21 |
# Command to run the application.
|
22 |
# Hugging Face Spaces expects the app to listen on port 7860.
|
23 |
# The command points to the `api_app` object inside the `api/main.py` file.
|
24 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
25 |
|