Version Update 2023-12-12

This commit is contained in:
Eriks Karls
2023-12-12 11:41:48 +02:00
parent 3d22494e48
commit 91e8f7bbf4
10 changed files with 370 additions and 23 deletions

View File

@ -1,7 +1,8 @@
FROM python:3.9-alpine
RUN pip install --no-cache-dir Flask icalendar gunicorn Unidecode
COPY . /app
FROM python:3-alpine as base
WORKDIR /app
COPY requirements.txt .
RUN pip install --compile --no-cache-dir --requirement requirements.txt
COPY . /app
CMD ["gunicorn", "--workers=2", "--access-logfile", "-", "--log-level", "debug", "-b", "0.0.0.0:5000", "app:app"]
CMD ["gunicorn", "-c", "gunicorn.py"]
#CMD python app.py