aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
blob: 114bba86612c8cf03c72fef4814fcd20e32f0f7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Docker Puppeteer

A Puppeteer Docker image based on [Puppeteer’s own recommendations](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"]
```