FROM python:3.12-slim

WORKDIR /app

# Copy pinned requirements first for layer caching
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY repro_demo.py .

# Default: run the demo and print output hashes
CMD ["python", "repro_demo.py"]
