Spaces:
Sleeping
Sleeping
Zeggai Abdellah
commited on
Commit
·
ce3b9a2
1
Parent(s):
12facca
make the model main not app
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -25,4 +25,4 @@ COPY --chown=user . $HOME/app
|
|
| 25 |
EXPOSE 7860
|
| 26 |
|
| 27 |
# Run the FastAPI app with uvicorn
|
| 28 |
-
CMD ["uvicorn", "
|
|
|
|
| 25 |
EXPOSE 7860
|
| 26 |
|
| 27 |
# Run the FastAPI app with uvicorn
|
| 28 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|