diff options
author | Tim Lucas <t@toolmantim.com> | 2018-06-12 22:25:47 +1000 |
---|---|---|
committer | Tim Lucas <t@toolmantim.com> | 2018-06-12 22:25:47 +1000 |
commit | f8f84070b8bac464c6536258506fb85b3ba9129d (patch) | |
tree | bdc13233807a7c589ffab6611d7baa27cca64b99 /Dockerfile | |
parent | ba32f188bf5dffef32d046eedbb4600cfcd08078 (diff) | |
download | docker-puppeteer-f8f84070b8bac464c6536258506fb85b3ba9129d.tar.gz docker-puppeteer-f8f84070b8bac464c6536258506fb85b3ba9129d.tar.zst docker-puppeteer-f8f84070b8bac464c6536258506fb85b3ba9129d.zip |
Switch to a package.json that can be updated
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -15,6 +15,8 @@ RUN apt-get update \ | |||
15 | && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \ | 15 | && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \ |
16 | && apt-get update \ | 16 | && apt-get update \ |
17 | && apt-get install -y google-chrome-unstable --no-install-recommends \ | 17 | && apt-get install -y google-chrome-unstable --no-install-recommends \ |
18 | && rm -rf /var/lib/apt/lists/* \ | 18 | && rm -rf /var/lib/apt/lists/* |
19 | # Finally, install Puppeteer under /node_modules so it's available system-wide | 19 | |
20 | && npm i puppeteer@1.3.0 \ No newline at end of file | 20 | # Install Puppeteer under /node_modules so it's available system-wide |
21 | ADD package.json package-lock.json / | ||
22 | RUN npm install \ No newline at end of file | ||