From f8f84070b8bac464c6536258506fb85b3ba9129d Mon Sep 17 00:00:00 2001 From: Tim Lucas Date: Tue, 12 Jun 2018 22:25:47 +1000 Subject: Switch to a package.json that can be updated --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index bddb9f5..7528ce4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,8 @@ RUN apt-get update \ && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \ && apt-get update \ && apt-get install -y google-chrome-unstable --no-install-recommends \ - && rm -rf /var/lib/apt/lists/* \ - # Finally, install Puppeteer under /node_modules so it's available system-wide - && npm i puppeteer@1.3.0 \ No newline at end of file + && rm -rf /var/lib/apt/lists/* + +# Install Puppeteer under /node_modules so it's available system-wide +ADD package.json package-lock.json / +RUN npm install \ No newline at end of file -- cgit v1.2.3