0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

release: skip download pptr in dockerfile (#2712)

This commit is contained in:
Gao Sun 2022-12-22 23:16:10 +08:00 committed by GitHub
parent df6eb9e942
commit 8135246e41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,9 @@ FROM node:16-alpine as builder
WORKDIR /etc/logto WORKDIR /etc/logto
ENV CI=true ENV CI=true
# No need for build
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
# Install toolchain # Install toolchain
RUN npm add --location=global pnpm@^7.14.0 RUN npm add --location=global pnpm@^7.14.0
# https://github.com/nodejs/docker-node/blob/main/docs/BestPractices.md#node-gyp-alpine # https://github.com/nodejs/docker-node/blob/main/docs/BestPractices.md#node-gyp-alpine