yasserrmd commited on
Commit
4032e99
·
verified ·
1 Parent(s): 438d2dd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -23,5 +23,5 @@ COPY --chown=user . /app
23
  # Expose the port 7860 as in the original Dockerfile
24
  EXPOSE 7860
25
 
26
- # Start the application using uvicorn on port 7860
27
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
23
  # Expose the port 7860 as in the original Dockerfile
24
  EXPOSE 7860
25
 
26
+ # Start the application using gunicorn on port 7860
27
+ CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"]