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"]