TirSystem/git-workflows: OpenGrep / opengrep (push) Skipped
TirSystem/git-workflows: Publish wiki / publish-wiki (push) Skipped
TirSystem/git-workflows: Sync GitHub mirror metadata / sync-metadata (push) Skipped
TirSystem/git-workflows: Publish accepted milestones / publish (push) Skipped
TirSystem/git-workflows: Validate / validate (push) Skipped
TirSystem/git-workflows: Validate / validate (pull_request) Successful in 42s
TirSystem/git-workflows: OpenGrep / opengrep (pull_request) Successful in 4m48s
Selenium bot (src/tinder_bot) for the Day 50 lecture steps, unit tests, a mock-site Docker e2e harness for screenshots, and README plus wiki in English, Danish and Bahasa Malaysia.
17 lines
468 B
Docker
17 lines
468 B
Docker
FROM python:3.12-slim
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends chromium chromium-driver fonts-liberation \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN pip install --no-cache-dir "selenium>=4.20"
|
|
|
|
WORKDIR /app
|
|
COPY src ./src
|
|
COPY tests/e2e ./tests/e2e
|
|
|
|
# Selenium finds /usr/bin/chromedriver on PATH; point it at the distro Chromium.
|
|
ENV CHROME_BIN=/usr/bin/chromium
|
|
VOLUME /out
|
|
ENTRYPOINT ["python", "tests/e2e/run_e2e.py", "--out", "/out"]
|