FROM python:3.12-alpine

# httpx[http2] pour les scénarios HTTP/2 explicites
RUN pip install --no-cache-dir "httpx[http2]"

WORKDIR /app
COPY *.py .

# Keep container alive; traffic is triggered via docker compose exec
ENTRYPOINT ["sleep", "infinity"]
