0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

build: add official connectors for dockerfile (#1881)

This commit is contained in:
Wang Sijie 2022-09-05 18:52:57 +08:00 committed by GitHub
parent 44117ae1da
commit a5f5e5e320
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,11 @@ RUN apk add --no-cache python3 make g++
RUN pnpm i
RUN pnpm -- lerna run build --stream
# Add official connectors
WORKDIR /etc/logto/packages/core
RUN pnpm add-official-connectors
WORKDIR /etc/logto
# Prune dependencies for production
RUN rm -rf node_modules packages/*/node_modules
RUN NODE_ENV=production pnpm i