mirror of https://github.com/langgenius/dify.git
fix: node build out of memory
This commit is contained in:
parent
69daf4a027
commit
4c1bf96b14
|
|
@ -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