Spaces:
Sleeping
Sleeping
Add application file
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -22,5 +22,6 @@ COPY --chown=user . /app
|
|
| 22 |
EXPOSE 7860
|
| 23 |
|
| 24 |
# CMD to run the FastAPI app with Uvicorn
|
| 25 |
-
CMD ["
|
|
|
|
| 26 |
|
|
|
|
| 22 |
EXPOSE 7860
|
| 23 |
|
| 24 |
# CMD to run the FastAPI app with Uvicorn
|
| 25 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
| 26 |
+
|
| 27 |
|