# The reference realization: Python + aiohttp + psycopg, database reached
# through the separate PG* libpq variables (see app.py's own docstring).
FROM python:3.13-slim

WORKDIR /app

RUN pip install --no-cache-dir "aiohttp>=3.14" "psycopg[binary]>=3.3"

COPY app.py ./app.py

EXPOSE 8080

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