Puppeteer docker that works both in amd64 and arm64 architecture which includes dumb-init and wkhtmltopdf.
make build
make run
Check the example folder for a working example.
Use the following code to launch puppeteer.
const browser = await puppeteer.launch({
headless: true,
args: [
"--no-sandbox",
"--disable-setuid-sandbox",
"--disable-dev-shm-usage",
],
});
This docker image is based on the work of Daniel and his docker-puppeteer