binqiangliu commited on
Commit
bac7c6c
·
1 Parent(s): f15d776

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -9,4 +9,5 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
9
  COPY . .
10
 
11
  #CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
12
- CMD ["gunicorn", "-b", "0.0.0.0:7860", "main:app"]
 
 
9
  COPY . .
10
 
11
  #CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
12
+ #CMD ["gunicorn", "-b", "0.0.0.0:7860", "main:app"]
13
+ CMD ["gunicorn", "-bind", "0.0.0.0:7860", "main:app"]