mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2026-10-06 06:05:24 +01:00
remove forcing headless and handmade symlink
This commit is contained in:
+1
-4
@@ -17,15 +17,12 @@ ENV \
|
||||
WORKDIR /app
|
||||
RUN apt update &&\
|
||||
apt upgrade -y &&\
|
||||
apt install -y --no-install-recommends --no-install-suggests xauth xvfb scrot curl chromium chromium-driver ca-certificates x11-common
|
||||
apt install -y --no-install-recommends --no-install-suggests xauth xvfb scrot curl chromium ca-certificates
|
||||
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
COPY pyproject.toml uv.lock ./
|
||||
RUN uv sync
|
||||
|
||||
COPY . .
|
||||
RUN cd .venv/lib/*/site-packages/seleniumbase/drivers && ln -s /usr/bin/chromedriver uc_driver
|
||||
|
||||
ENV USE_HEADLESS=false
|
||||
|
||||
FROM base AS test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user