lalithadevi
commited on
Commit
•
107add4
1
Parent(s):
5499a46
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -2,5 +2,5 @@ FROM python:3.9-slim
|
|
2 |
WORKDIR /webapp
|
3 |
COPY . .
|
4 |
RUN pip install --no-cache-dir -r requirements.txt
|
5 |
-
CMD ["gunicorn", "
|
6 |
EXPOSE 7860
|
|
|
2 |
WORKDIR /webapp
|
3 |
COPY . .
|
4 |
RUN pip install --no-cache-dir -r requirements.txt
|
5 |
+
CMD ["gunicorn", "-b", "0.0.0.0:7860", "--timeout", "120", "--workers=3", "--threads=3", "--worker-connections=1000", "app:app"]
|
6 |
EXPOSE 7860
|