Initial commit: kantine2ical CLI, Flask-Server, Docker

This commit is contained in:
2026-01-29 13:19:16 +01:00
commit bb43f7c63a
8 changed files with 508 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY kantine2ical.py app.py ./
RUN useradd -m appuser
USER appuser
EXPOSE 8000
CMD ["gunicorn", "-w", "1", "-b", "0.0.0.0:8000", "app:app"]