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
21 lines
640 B
Docker
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"]
|