This project is a light weight Google-Puppeteer docker image ready to launch out of the box.
Supports alpine base image versions 14 and 16. Aditional versions are comming soon.
docker pull icedrone/docker-puppeteer:latest
Change executablePath
value to the chromium-browser location.
Example:
const browser = await puppeteer.launch(
{
executablePath: '/usr/bin/chromium-browser'
}
);
FROM icedrone/docker-puppeteer:latest
FROM icedrone/docker-puppeteer:latest
COPY . .
CMD ["node", "index.js"]
If you ❤️ the project fill free to help and contribute. Pull-requests are welcome.
MIT © License