pyproject.toml (Python 3.13, Selenium only at runtime), src and tests layout, constants.py, Python .gitignore, Doxyfile, README from the framework template with .venv instructions, Dockerfile for headless Chromium, code review RC-014. Closes #8 Closes #9 Closes #10 Closes #11 Closes #12 Closes #13 Task: MIL-002#1 Task: MIL-002#2 Task: MIL-002#3 Task: MIL-002#4 Task: MIL-002#5 Task: MIL-002#6
20 lines
597 B
Docker
20 lines
597 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
|
|
|
|
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", "cookie_clicker_bot"]
|