mirror of
https://github.com/logto-io/logto.git
synced 2025-03-31 22:51:25 -05:00
fix: install connector in cloud dockerfile (#3428)
This commit is contained in:
parent
565a0aead2
commit
451f77161e
1 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,9 @@ ENV ADMIN_ENDPOINT=${admin_endpoint}
|
|||
RUN pnpm prepack
|
||||
RUN pnpm -r --filter @logto/console --filter @logto/cloud build
|
||||
|
||||
### Add official connectors ###
|
||||
RUN pnpm cli connector add --official -p .
|
||||
|
||||
### Prune dependencies for production ###
|
||||
RUN rm -rf node_modules packages/**/node_modules
|
||||
RUN NODE_ENV=production pnpm i
|
||||
|
|
Loading…
Add table
Reference in a new issue