Vivek0912 commited on
Commit
5b95557
·
1 Parent(s): 0ec8f66

updated docker

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -21,4 +21,4 @@ RUN pip install --no-cache-dir -r requirements.txt
21
  RUN chown -R root:root /app
22
 
23
  # Start the FastAPI application
24
- CMD ["gunicorn", "--bind", "0.0.0.0:7860", "-k", "uvicorn.workers.UvicornWorker", "main:app"]
 
21
  RUN chown -R root:root /app
22
 
23
  # Start the FastAPI application
24
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]