Skip to content
Base environment image for Puppeteer (Headless Chrome Node API)
Dockerfile
Branch: master
Clone or download
zenato Merge pull request #5 from movd/node10
Update to Node 10 (new LTS) and fix #4
Latest commit 47c1953 Feb 5, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile Update to Node 10 (new LTS) and fix "Warning: apt-key output should n… Feb 5, 2019
README.md Update README.md Nov 29, 2018

README.md

Base environment image for Puppeteer (Headless Chrome Node API)

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
You can’t perform that action at this time.