mirror of https://github.com/langgenius/dify.git
fix: node build out of memory
This commit is contained in:
parent
6e798fad34
commit
54f03c5c78
|
|
@ -30,6 +30,7 @@ WORKDIR /app/web
|
|||
COPY --from=packages /app/web/ .
|
||||
COPY . .
|
||||
|
||||
ENV NODE_OPTIONS="--max-old-space-size=4096"
|
||||
RUN pnpm build
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue