Files
049-snack-and-lift/Dockerfile
Tirsvad 7fdc11a0e7 Add project scaffold, tooling, README and container image
pyproject.toml, src/snack_and_lift layout (domain, application,
infrastructure), constants.py, Doxyfile, Dockerfile with headless Chromium,
README with .venv instructions, unit tests, container smoke test and
RC-016.

Task: MIL-002#1
Task: MIL-002#2
Task: MIL-002#3
Task: MIL-002#4
Task: MIL-002#5
2026-10-28 17:29:55 +08:00

21 lines
640 B
Docker

# Headless Chromium for real-browser runs and screenshots (ADR-0003).
FROM python:3.13-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
CHROME_BIN=/usr/bin/chromium \
CHROMEDRIVER_PATH=/usr/bin/chromedriver \
SNACK_AND_LIFT_E2E=1
RUN apt-get update \
&& apt-get install -y --no-install-recommends chromium chromium-driver fonts-liberation \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY pyproject.toml README.md LICENSE ./
COPY src ./src
RUN python -m pip install --upgrade pip && python -m pip install -e ".[dev]"
COPY tests ./tests
ENTRYPOINT ["python", "-m", "snack_and_lift"]