Updated dockerfile
This commit is contained in:
parent
14bb7dc2a3
commit
06ccc6d825
@ -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 . .
|
||||
|
Loading…
Reference in New Issue
Block a user