From 1be03ccf532a7dd6d23334a5666dec34e2e68d77 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Wed, 2 Oct 2024 19:26:00 +0800 Subject: [PATCH] refactor: improve install package time in docker build static stage --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5685b34..512c797 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,7 +38,7 @@ ARG VERSION COPY . . -RUN pnpm install --frozen-lockfile +RUN pnpm install --filter @tianji/client... --config.dedupe-peer-dependents=false --frozen-lockfile ENV VITE_VERSION=$VERSION ENV NODE_OPTIONS="--max-old-space-size=4096"