Skip to content

Commit 26124ee

Browse files
committed
created docker image
1 parent d46267e commit 26124ee

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎.dockerignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.*

‎Dockerfile‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM python:3.11-slim
2+
3+
WORKDIR /app
4+
COPY requirements.txt .
5+
RUN pip install -r requirements.txt gunicorn
6+
COPY . .
7+
CMD ["gunicorn", "--workers", "3", "--bind", "0.0.0.0:8080", "app:app"]

0 commit comments

Comments
 (0)