aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authorTim Lucas <t@toolmantim.com>2019-02-06 11:10:56 +1100
committerTim Lucas <t@toolmantim.com>2019-02-06 11:31:39 +1100
commit65cd9245fa692fe7bb613960510ba513b2a70a3d (patch)
treeebe53b6ee5c5cce7d0b369ff13145a3dc36b2a06 /Dockerfile
parent40876fe8ad7b884004ed5f47ac66ce79b0e9ad14 (diff)
downloaddocker-puppeteer-65cd9245fa692fe7bb613960510ba513b2a70a3d.tar.gz
docker-puppeteer-65cd9245fa692fe7bb613960510ba513b2a70a3d.tar.zst
docker-puppeteer-65cd9245fa692fe7bb613960510ba513b2a70a3d.zip
Add wait-for-it.sh
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 0d53911..2e1d916 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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
21ADD package.json package-lock.json / 23ADD package.json package-lock.json /
22RUN npm install \ No newline at end of file 24RUN npm install