# chores — oneshot, driven by a systemd timer (every ~2h, +/-30min jitter via
# RandomizedDelaySec), same shape as digest-engine/trash-calendar/transit-sync.
FROM python:3.11-slim

ENV PYTHONUNBUFFERED=1 \
    PYTHONDONTWRITEBYTECODE=1

WORKDIR /app

COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt

COPY check.py ./

RUN mkdir -p /data

CMD ["python", "check.py"]
