garvitcpp commited on
Commit
c72b368
·
verified ·
1 Parent(s): 68c7b90

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -15,4 +15,4 @@ RUN pip install --no-cache-dir -r requirements.txt && \
15
  COPY . .
16
 
17
  # Command to run the application
18
- CMD ["gunicorn", "main:app", "--workers", "1", "--worker-class", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:7860", "--timeout", "120"]
 
15
  COPY . .
16
 
17
  # Command to run the application
18
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]