From a5f5e5e320ba4cad373e224ec7d0a14746583ad2 Mon Sep 17 00:00:00 2001 From: Wang Sijie Date: Mon, 5 Sep 2022 18:52:57 +0800 Subject: [PATCH] build: add official connectors for dockerfile (#1881) --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 76d3c9277..16310305d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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