Spaces:
Paused
Paused
AdriBat1 commited on
Commit ·
2a7c8ce
1
Parent(s): 3eb29d0
Switch to uvicorn CMD
Browse files
remote-gpu-server/Dockerfile
CHANGED
|
@@ -23,4 +23,5 @@ RUN pip install --no-cache-dir --upgrade pip && \
|
|
| 23 |
COPY --chown=user . .
|
| 24 |
|
| 25 |
# Run FastAPI with Uvicorn internal
|
| 26 |
-
CMD ["
|
|
|
|
|
|
| 23 |
COPY --chown=user . .
|
| 24 |
|
| 25 |
# Run FastAPI with Uvicorn internal
|
| 26 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "2"]
|
| 27 |
+
|