-
-
Notifications
You must be signed in to change notification settings - Fork 21
Wendigo Docker Image
Andrés edited this page Mar 12, 2019
·
3 revisions
FROM alpine
# Installs latest Chromium (71) package.
RUN apk update && apk upgrade && \
echo @edge http://nl.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories && \
echo @edge http://nl.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories && \
apk add --no-cache \
chromium@edge \
harfbuzz@edge \
nss@edge \
nodejs \
nodejs-npm
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
ENV NO_SANDBOX true
RUN npm install wendigo && npm cache clean --force
Using official image
FROM angrykoala/wendigo
COPY package*.json .
# Copies wendigo dependency from official image
RUN mv /node_modules .
# Install your app dependencies (wendigo should be listed there)
RUN npm install
COPY . /app
CMD ["npm", "start"]