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