benjolo commited on
Commit
0a20dfe
1 Parent(s): 115f7c3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -16,4 +16,4 @@ 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", "-k", "uvicorn.workers.UvicornWorker", "main:app"]
 
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", "-k", "main.MyUvicornWorker", "main:app"]