]> git.immae.eu Git - github/fretlink/docker-puppeteer.git/blob - README.md
Rename readme
[github/fretlink/docker-puppeteer.git] / README.md
1 # Docker Puppeteer
2
3 A Puppeteer Docker image based on the code here (Apache 2.0 license):
4 https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker
5
6 An example for how to use:
7
8 ```Dockerfile
9 FROM buildkite/puppeteer
10
11 RUN npm install mocha
12 ENV PATH="${PATH}:/node_modules/.bin"
13
14 # The `tests` dir is expected to be mounted into here
15 WORK_DIR /home/pptr
16
17 CMD ["mocha", "--recursive", "tests"]
18 ```