fix: node build out of memory

This commit is contained in:
Joel 2024-12-09 18:15:06 +08:00
parent 6e798fad34
commit 54f03c5c78
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ WORKDIR /app/web
COPY --from=packages /app/web/ .
COPY . .
ENV NODE_OPTIONS="--max-old-space-size=4096"
RUN pnpm build