blob: b58eff51c9cddc930d5b173aac21029167be8f5b (
plain) (
tree)
|
|
# 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"]
```
|