Initial commit

This commit is contained in:
2020-03-22 13:51:40 +00:00
commit 974fa1660a
13 changed files with 314 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
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"
WORKDIR /app
ADD package.json .
RUN npm install
ADD . .
CMD npm start