benjolo commited on
Commit
d2579cb
1 Parent(s): cec7050

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -15,5 +15,5 @@ WORKDIR backend/
15
  RUN pip install --no-cache-dir --upgrade -r ./requirements.txt
16
 
17
  # Start the FastAPI app on port 7860, the default port expected by Spaces
18
- # CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
19
- CMD ["gunicorn", "--workers", "1", "bind=0.0.0.0:8000", "--log-level", "warning", "main:app"]
 
15
  RUN pip install --no-cache-dir --upgrade -r ./requirements.txt
16
 
17
  # Start the FastAPI app on port 7860, the default port expected by Spaces
18
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
19
+ # CMD ["gunicorn", "--workers", "1", "bind=0.0.0.0:8000", "--log-level", "warning", "main:app"]