FROM python:3.12-slim WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY gateway ./gateway COPY notifiers ./notifiers COPY config.example.yaml ./config.example.yaml RUN chmod -R a+rX /app/gateway /app/notifiers /app/config.example.yaml ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 CMD ["python", "-m", "gateway"]