0
Fork 0
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:
wangsijie 2023-03-15 22:22:45 +08:00 committed by GitHub
parent 565a0aead2
commit 451f77161e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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