puppeteer-node
puppeteer-node copied to clipboard
Preinstalled dependencies for puppeteer
Puppeteer Node for CI
The motivation of this repo is to provide all versions of nodejs images with a single layer on top that contains only dependencies for puppeteer.
Therefore, which puppeteer to install and to use is up to you, it is just one line of code.
satantime/puppeteer-node images do not contain puppeteer itself,
because different versions of different libraries, such as webdriver, might require
specific versions of Chrome Browser.
This makes tough providing images for all possible combinations.
Example
For example, if you want to use puppeteer with node v20.9.0 on bookworm, which means base image is node:20.9.0-bookworm, then you only need to replace node with satantime/puppeteer-node:
Dockerfile
FROM satantime/puppeteer-node:20.9.0-bookworm
compose.yml
services:
service-name:
image: satantime/puppeteer-node:20.9.0-bookworm
Warnings
- no alpine images
- should you not find node version you want, please open an issue on GitHub
Testing Angular
Documentation how to configure continuous integration for Angular applications is on https://satantime.github.io/puppeteer-node/.