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:
parent
44117ae1da
commit
a5f5e5e320
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue