Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Commit

Permalink
Adding PUPPETEER_EXECUTABLE_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Walter committed Jul 10, 2020
1 parent 8f75635 commit 9512701
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ RUN apt-get update \

# When installing Puppeteer through npm, instruct it to not download Chromium.
# Puppeteer will need to be launched with:
# browser.launch({ executablePath: 'google-chrome-unstable' })
# browser.launch({ executablePath: 'google-chrome-stable' })
# This is done by default in @ianwalter/bff.
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
ENV PUPPETEER_EXECUTABLE_PATH google-chrome-stable
3 changes: 2 additions & 1 deletion current.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN apt-get update \

# When installing Puppeteer through npm, instruct it to not download Chromium.
# Puppeteer will need to be launched with:
# browser.launch({ executablePath: 'google-chrome-unstable' })
# browser.launch({ executablePath: 'google-chrome-stable' })
# This is done by default in @ianwalter/bff.
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
ENV PUPPETEER_EXECUTABLE_PATH google-chrome-stable

0 comments on commit 9512701

Please sign in to comment.