lord-reso commited on
Commit
55de93f
·
verified ·
1 Parent(s): d05591d

updated wsgi server

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -23,4 +23,5 @@ WORKDIR $HOME/app
23
 
24
  COPY --chown=user . $HOME/app/
25
 
26
- CMD ["uvicorn", "-b", "0.0.0.0:7860", "app:app"]
 
 
23
 
24
  COPY --chown=user . $HOME/app/
25
 
26
+ # CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]
27
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]