refactor: improve install package time in docker build static stage

This commit is contained in:
moonrailgun 2024-10-02 19:26:00 +08:00
parent 5eb7696ead
commit 1be03ccf53

View File

@ -38,7 +38,7 @@ ARG VERSION
COPY . . COPY . .
RUN pnpm install --frozen-lockfile RUN pnpm install --filter @tianji/client... --config.dedupe-peer-dependents=false --frozen-lockfile
ENV VITE_VERSION=$VERSION ENV VITE_VERSION=$VERSION
ENV NODE_OPTIONS="--max-old-space-size=4096" ENV NODE_OPTIONS="--max-old-space-size=4096"