chore: update NODE_OPTIONS in static layer to make sure build can pass

This commit is contained in:
moonrailgun 2024-10-02 17:43:52 +08:00
parent 79b75f55e3
commit 5eb7696ead

View File

@ -41,6 +41,7 @@ COPY . .
RUN pnpm install --frozen-lockfile RUN pnpm install --frozen-lockfile
ENV VITE_VERSION=$VERSION ENV VITE_VERSION=$VERSION
ENV NODE_OPTIONS="--max-old-space-size=4096"
RUN pnpm build:static RUN pnpm build:static