From bdf0f71916f3cdf700d78862c0d4a8f288e9ff6a Mon Sep 17 00:00:00 2001 From: Finn Christiansen Date: Tue, 7 Nov 2023 22:08:02 +0100 Subject: [PATCH] :construction_worker: add Dockerfile, now really... --- Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c99821e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM python:3.11-alpine + +WORKDIR /reminder-docker + +COPY requirements.txt requirements.txt +RUN pip3 install -r requirements.txt + +COPY . . + +CMD ["gunicorn", "-w 4", "-b", "0.0.0.0:8000", "app:create_app()"]