aboutsummaryrefslogblamecommitdiffhomepage
path: root/README.md
blob: b58eff51c9cddc930d5b173aac21029167be8f5b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                                                         
# Docker Puppeteer

A Puppeteer Docker image based on the code here (Apache 2.0 license):
https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker

An example for how to use:

```Dockerfile
FROM buildkite/puppeteer

RUN npm install mocha
ENV PATH="${PATH}:/node_modules/.bin"

# The `tests` dir is expected to be mounted into here
WORK_DIR /home/pptr

CMD ["mocha", "--recursive", "tests"]
```