lalithadevi
commited on
Commit
•
9919dd1
1
Parent(s):
f7a32b8
Upload Dockerfile
Browse files- Dockerfile +7 -0
Dockerfile
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.9-slim
|
2 |
+
WORKDIR /webapp
|
3 |
+
COPY . .
|
4 |
+
RUN rm -r ./docker
|
5 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
6 |
+
CMD ["gunicorn", "app:app", "--timeout", "120", "--workers=3", "--threads=3", "--worker-connections=1000"]
|
7 |
+
EXPOSE 5002
|