docker-puppeteer icon indicating copy to clipboard operation
docker-puppeteer copied to clipboard

Base environment image for Puppeteer (Headless Chrome Node API)

docker-puppeteer

Base environment docker image for Puppeteer (Headless Chrome Node API)
This project has been deprecated. Please use puppeteer official image.

Getting started

Start node application

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`"

Start with your docker application

Write your Dockerfile and run:

FROM zenato/puppeteer

USER root

...

CMD node your-application
  • See more example - https://github.com/zenato/puppeteer-renderer