Salif SAWADOGO commited on
Commit
abb63f7
·
1 Parent(s): 55f2426

CORRECT DOCKERFILE

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -2,4 +2,5 @@ FROM python:3.9
2
  COPY . /usr/app/
3
  WORKDIR /usr/app/
4
  RUN pip install --no-cache-dir -r requirements.txt
5
- CMD ["gunicorn", "main:app", "--host", "-b", "0.0.0.0:7860"]
 
 
2
  COPY . /usr/app/
3
  WORKDIR /usr/app/
4
  RUN pip install --no-cache-dir -r requirements.txt
5
+ CMD ["gunicorn", "--bind", "0.0.0.0:7860", "main:app"]
6
+