Spaces:
Build error
Build error
Commit
·
aa1b5d0
1
Parent(s):
15573e8
build: change startup process
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -11,6 +11,6 @@ WORKDIR /
|
|
| 11 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
| 12 |
|
| 13 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
| 14 |
-
CMD ["uvicorn", "
|
| 15 |
|
| 16 |
EXPOSE 7860
|
|
|
|
| 11 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
| 12 |
|
| 13 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
| 14 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
| 15 |
|
| 16 |
EXPOSE 7860
|