diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..541a4b1 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +.git +*.pdf diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..744d03c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM python:3.9-alpine +RUN pip install --no-cache-dir -U setuptools pip wheel && pip install --no-cache-dir Flask icalendar gunicorn +COPY . /app +WORKDIR /app + +CMD ["gunicorn", "--workers=2", "--access-logfile", "-", "--log-level", "warning", "-b", "0.0.0.0:5000", "app:app"] +#CMD python app.py