# The poller (poller/poll.py): standard library only, nothing to install. Built from the repository root (it reads
# LibreDesk through conversations/pomper.py). Version pinned like acces/Dockerfile (2026-11-18).
FROM python:3.12.8-slim-bookworm
WORKDIR /app
COPY conversations/__init__.py conversations/pomper.py conversations/transcript.py /app/conversations/
COPY poller/__init__.py poller/poll.py /app/poller/
USER nobody
CMD ["python", "-u", "-m", "poller.poll", "--every", "300"]
