diff options
author | Tim Lucas <t@toolmantim.com> | 2018-03-16 00:06:00 +1100 |
---|---|---|
committer | Tim Lucas <t@toolmantim.com> | 2018-03-16 00:06:00 +1100 |
commit | 7fa1d2b7ef0a822fe92cdfda9ed6315b4fdbf9b1 (patch) | |
tree | 22bcdfd0e0f096d17d0a399983f0fc1afa9108f7 /README.md | |
parent | 162d70f3784124050ac7c705cecb4e395733642e (diff) | |
download | docker-puppeteer-7fa1d2b7ef0a822fe92cdfda9ed6315b4fdbf9b1.tar.gz docker-puppeteer-7fa1d2b7ef0a822fe92cdfda9ed6315b4fdbf9b1.tar.zst docker-puppeteer-7fa1d2b7ef0a822fe92cdfda9ed6315b4fdbf9b1.zip |
Rename readme
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..b58eff5 --- /dev/null +++ b/README.md | |||
@@ -0,0 +1,18 @@ | |||
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 | ``` \ No newline at end of file | ||