mirix commited on
Commit
d375e4d
·
verified ·
1 Parent(s): e8d64db

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -11,7 +11,7 @@ WORKDIR /app
11
 
12
  COPY --chown=mirix ./requirements.txt requirements.txt
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
- RUN pip install uvicorn
15
 
16
  COPY --chown=mirix . /app
17
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
11
 
12
  COPY --chown=mirix ./requirements.txt requirements.txt
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
+ RUN pip install gunicorn
15
 
16
  COPY --chown=mirix . /app
17
+ CMD ["gunicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]