From 81878ef1bf3411c5c5ee8437007758159e8473cd Mon Sep 17 00:00:00 2001 From: sascha Date: Mon, 27 Jul 2026 20:38:37 +0200 Subject: [PATCH] add Dockerfile --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7fb4d8f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM python:3.11-slim + +WORKDIR /app + +COPY requirements.txt . +RUN pip install --no-cache-dir -r requirements.txt + +COPY app.py . +COPY static/ static/ +COPY templates/ templates/ + +CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--workers", "2", "--timeout", "120", "app:app"]