diff --git a/Dockerfile.cloud b/Dockerfile.cloud index 9c3cc44f7..85086bac0 100644 --- a/Dockerfile.cloud +++ b/Dockerfile.cloud @@ -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