From 729f70bab1e0d47c43547b8c1b9838047f46287e Mon Sep 17 00:00:00 2001 From: frarol96 Date: Sat, 16 Aug 2025 06:13:06 +0000 Subject: [PATCH] Update wrapper/dockerfile --- wrapper/dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wrapper/dockerfile b/wrapper/dockerfile index 56d76d0..4224b83 100644 --- a/wrapper/dockerfile +++ b/wrapper/dockerfile @@ -12,10 +12,11 @@ RUN apt-get update && \ # Faster, cleaner pip RUN pip install --no-cache-dir pip setuptools wheel -# Optional: bake Playwright in (pass --build-arg WITH_PLAYWRIGHT=1) +# Optional Playwright (driven by build-arg) +ARG WITH_PLAYWRIGHT=0 RUN if [ "$WITH_PLAYWRIGHT" = "1" ]; then \ - pip install --no-cache-dir playwright && \ - python -m playwright install --with-deps chromium; \ + pip install --no-cache-dir playwright==1.45.0 && \ + python -m playwright install --with-deps chromium ; \ fi # Wrapper entrypoint