Base environment docker image for Puppeteer (Headless Chrome Node API)
This project has been deprecated. Please use puppeteer
official image.
Run the container by passing node -e "<yourscript.js content as a string> as the command:
docker run -i --rm --cap-add=SYS_ADMIN \
--name puppeteer-chrome zenato/puppeteer \
node -e "`cat yourscript.js`"
Write your Dockerfile and run:
FROM zenato/puppeteer
USER root
...
CMD node your-application
- See more example - https://github.com/zenato/puppeteer-renderer