diff options
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 | ||