blob: ad1518b1edfe4b678c71fce06df71cefdec99c6a (
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"]
```
|