feat: Default to not downloading if explicit browser path is set (#9440)

Fixed: #9419
This commit is contained in:
Evan Carroll
2022-12-20 07:50:02 -06:00
committed by GitHub
parent 842008102f
commit d2536d7cf5
2 changed files with 49 additions and 37 deletions

View File

@@ -433,8 +433,7 @@ RUN apk add --no-cache \
...
# Tell Puppeteer to skip installing Chrome. We'll be using the installed package.
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
# Puppeteer v13.5.0 works with Chromium 100.
RUN yarn add puppeteer@13.5.0