diff options
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -15,8 +15,10 @@ 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 | && wget --quiet https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh -O /usr/sbin/wait-for-it.sh \ | ||
20 | && chmod +x /usr/sbin/wait-for-it.sh | ||
19 | 21 | ||
20 | # Install Puppeteer under /node_modules so it's available system-wide | 22 | # Install Puppeteer under /node_modules so it's available system-wide |
21 | ADD package.json package-lock.json / | 23 | ADD package.json package-lock.json / |
22 | RUN npm install \ No newline at end of file | 24 | RUN npm install |