aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authorTim Lucas <t@toolmantim.com>2018-06-12 22:25:47 +1000
committerTim Lucas <t@toolmantim.com>2018-06-12 22:25:47 +1000
commitf8f84070b8bac464c6536258506fb85b3ba9129d (patch)
treebdc13233807a7c589ffab6611d7baa27cca64b99 /Dockerfile
parentba32f188bf5dffef32d046eedbb4600cfcd08078 (diff)
downloaddocker-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--Dockerfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index bddb9f5..7528ce4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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
21ADD package.json package-lock.json /
22RUN npm install \ No newline at end of file