diff --git a/Dockerfile b/Dockerfile index 48a3e687d..75df15492 100644 --- a/Dockerfile +++ b/Dockerfile @@ -159,6 +159,7 @@ RUN --mount=type=cache,id=ragflow_uv,target=/root/.cache/uv,sharing=locked \ COPY web web COPY docs docs RUN --mount=type=cache,id=ragflow_npm,target=/root/.npm,sharing=locked \ + export NODE_OPTIONS="--max-old-space-size=4096" && \ cd web && npm install && npm run build COPY .git /ragflow/.git