From 5b5a602c8a8753dfe2bd18187083ed00580f58d0 Mon Sep 17 00:00:00 2001 From: Raman Gupta Date: Sat, 2 Mar 2019 11:58:20 -0500 Subject: [PATCH] test skipping Puppeteer's Chromium download --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 2540aeca..ddb96399 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,6 +30,11 @@ RUN apt-get update && apt-get install -y wget --no-install-recommends \ ADD https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64 /usr/local/bin/dumb-init RUN chmod +x /usr/local/bin/dumb-init +# Uncomment to skip the chromium download when installing puppeteer. If you do, +# you'll need to launch puppeteer with: +# browser.launch({executablePath: 'google-chrome-unstable'}) +ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true + # Install puppeteer so it's available in the container. RUN npm i puppeteer