From 27667c6ffc5421821939da4b3750da8911f44c59 Mon Sep 17 00:00:00 2001 From: ThePhaseless Date: Thu, 20 Feb 2025 21:20:28 +0000 Subject: [PATCH] [skip ci] readd symlink for chromedriver to fix arm64 --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ff14355..ec606b4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,11 +17,14 @@ ENV \ WORKDIR /app RUN apt update &&\ apt upgrade -y &&\ - apt install -y --no-install-recommends --no-install-suggests xauth xvfb scrot curl chromium ca-certificates + apt install -y --no-install-recommends --no-install-suggests xauth xvfb scrot libc-bin curl chromium chromium-driver ca-certificates RUN curl -LsSf https://astral.sh/uv/install.sh | sh COPY pyproject.toml uv.lock ./ RUN uv sync +# SeleniumBase does not come with an arm64 chromedriver binary +RUN cd .venv/lib/*/site-packages/seleniumbase/drivers && ln -s /usr/bin/chromedriver uc_driver + COPY . . FROM base AS test