Spaces:
Sleeping
Sleeping
Salif SAWADOGO
commited on
Commit
·
55f2426
1
Parent(s):
03d50d3
change web server to unicorn
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -2,4 +2,4 @@ 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", "0.0.0.0
|
|
|
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"]
|