mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2025-03-15 09:50:20 +08:00
[skip ci] readd symlink for chromedriver to fix arm64
This commit is contained in:
parent
9661d8e29f
commit
27667c6ffc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user