Updated dockerfile
This commit is contained in:
parent
14bb7dc2a3
commit
06ccc6d825
@ -1,13 +1,12 @@
|
|||||||
FROM node:10-alpine
|
FROM node:10-alpine
|
||||||
|
|
||||||
RUN apk add --no-cache chromium nss freetype freetype-dev harfbuzz ca-certificates ttf-freefont
|
RUN apk add chromium nss freetype freetype-dev harfbuzz ca-certificates ttf-freefont
|
||||||
|
|
||||||
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
|
|
||||||
ENV CHROMIUM_PATH "/usr/bin/chromium-browser"
|
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
ADD package.json .
|
ADD package.json .
|
||||||
|
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
|
||||||
|
ENV CHROMIUM_PATH "/usr/bin/chromium-browser"
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
ADD . .
|
ADD . .
|
||||||
|
Loading…
Reference in New Issue
Block a user