AdriBat1 commited on
Commit
2a7c8ce
·
1 Parent(s): 3eb29d0

Switch to uvicorn CMD

Browse files
Files changed (1) hide show
  1. remote-gpu-server/Dockerfile +2 -1
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 ["python", "app.py"]
 
 
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
+