mirror of
https://github.com/keven1024/015.git
synced 2026-05-26 07:08:02 +00:00
chore(docker): add NODE_OPTIONS environment variable to Dockerfile for increased memory allocation during build
This commit is contained in:
@@ -5,6 +5,7 @@ WORKDIR /app
|
||||
FROM front-base AS front-builder
|
||||
RUN apk add --no-cache gcompat
|
||||
ENV CI=true
|
||||
ENV NODE_OPTIONS="--max-old-space-size=4096"
|
||||
COPY . .
|
||||
RUN corepack enable pnpm && pnpm i && pnpm --filter=015-front build && pnpm --dir pkg/mail export
|
||||
|
||||
|
||||
Reference in New Issue
Block a user