Fix docker image

This commit is contained in:
Hongbo Wu
2022-12-28 15:28:27 +08:00
parent a5f5e6fbdb
commit 6cd6994aff
2 changed files with 10 additions and 2 deletions

View File

@ -9,7 +9,10 @@ RUN apk add --no-cache \
ca-certificates \
ttf-freefont \
nodejs \
yarn
yarn \
g++ \
make \
python3
# Add user so we don't need --no-sandbox.
RUN addgroup -S pptruser && adduser -S -g pptruser pptruser \
@ -29,6 +32,7 @@ COPY tsconfig.json .
COPY .prettierrc .
COPY .eslintrc .
COPY /packages/readabilityjs/package.json ./packages/readabilityjs/package.json
COPY /packages/content-handler/package.json ./packages/content-handler/package.json
COPY /packages/puppeteer-parse/package.json ./packages/puppeteer-parse/package.json