Updated dockerfile

This commit is contained in:
Marcus Noble 2020-05-07 15:22:52 +01:00
parent 14bb7dc2a3
commit 06ccc6d825
1 changed files with 3 additions and 4 deletions

View File

@ -1,13 +1,12 @@
FROM node:10-alpine
RUN apk add --no-cache chromium nss freetype freetype-dev harfbuzz ca-certificates ttf-freefont
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
ENV CHROMIUM_PATH "/usr/bin/chromium-browser"
RUN apk add chromium nss freetype freetype-dev harfbuzz ca-certificates ttf-freefont
WORKDIR /app
ADD package.json .
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
ENV CHROMIUM_PATH "/usr/bin/chromium-browser"
RUN npm install
ADD . .