copy paste chrome fix to root docker file

This commit is contained in:
chungyau97 2023-07-08 19:01:11 +08:00
parent 90d7f4472d
commit 41346594c6
1 changed files with 5 additions and 0 deletions

View File

@ -8,7 +8,12 @@ FROM node:18-alpine
RUN apk add --update libc6-compat python3 make g++
# needed for pdfjs-dist
RUN apk add --no-cache build-base cairo-dev pango-dev
# Install Chromium
RUN apk add --no-cache chromium
ENV PUPPETEER_SKIP_DOWNLOAD=true
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
WORKDIR /usr/src/packages