This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:22-slim as base | |
# Skip downloading Chromium as we are installing it manually. | |
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true | |
# Point Puppeteer at the manually installed executable. | |
ENV PUPPETEER_EXECUTABLE_PATH="/usr/bin/google-chrome" | |
# Install Google Chrome Stable and fonts | |
# Note: this installs the necessary libs to make the browser work with Puppeteer. |
OlderNewer