website-to-remarkable/Dockerfile

15 lines
268 B
Docker
Raw Permalink Normal View History

2020-03-22 13:51:40 +00:00
FROM node:10-alpine
2020-05-07 14:22:52 +00:00
RUN apk add chromium nss freetype freetype-dev harfbuzz ca-certificates ttf-freefont
2020-03-22 13:51:40 +00:00
WORKDIR /app
ADD package.json .
2020-05-07 14:22:52 +00:00
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
ENV CHROMIUM_PATH "/usr/bin/chromium-browser"
2020-03-22 13:51:40 +00:00
RUN npm install
ADD . .
CMD npm start