You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
439 B

FROM node:14.2-alpine
MAINTAINER Jørgen Sverre Lien Sellæg <jorgen@guut.org>
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
RUN apk add --no-cache \
chromium \
bash \
imagemagick \
graphicsmagick \
nss \
freetype \
freetype-dev \
harfbuzz \
ca-certificates \
ttf-freefont
WORKDIR "/app"
USER node
COPY --chown=node:node ./scrape.sh /scrape.sh
CMD ["/scrape.sh"]