# Packaging example only: build and Linux runtime have not been executed.
# Only the supplied owned loopback fixture is in scope.
FROM mcr.microsoft.com/playwright/python:v1.64.1-noble
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt \
    && mkdir -p /output && chown pwuser:pwuser /output
COPY --chown=pwuser:pwuser fixture.py scrape.py demo.py ./
USER pwuser
CMD ["python", "demo.py", "--output", "/output/catalog.json"]
