datasciencesage commited on
Commit
e5d624b
·
1 Parent(s): 45f9fdd

Updated to gunicorn

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. requirements.txt +2 -1
Dockerfile CHANGED
@@ -13,4 +13,4 @@ COPY --chown=user ./requirements.txt requirements.txt
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
15
  COPY --chown=user . /app
16
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
15
  COPY --chown=user . /app
16
+ CMD ["gunicorn", "-b","0.0.0.7860","app:app"]
requirements.txt CHANGED
@@ -11,4 +11,5 @@ keras==3.7.0
11
  uvicorn
12
  tensorflow-hub
13
  jax
14
- accelerate
 
 
11
  uvicorn
12
  tensorflow-hub
13
  jax
14
+ accelerate
15
+ gunicorn