simpleaudit-studio / deploy /openwebui-subpath /0002-node-build-heap.patch
SushantGautam's picture
Copilot
Add deploy/openwebui-subpath: embedded OWUI under /chat (v0.11.4, published)
02b9c1f
Raw History Blame Contribute Delete
381 Bytes
diff --git a/Dockerfile b/Dockerfile
index 14d7ceaa..9828ce46 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -36,6 +36,9 @@ WORKDIR /app
# to store git revision in build
RUN apk add --no-cache git
+# The SvelteKit/Vite production build OOMs at Node's ~2GB default heap.
+ENV NODE_OPTIONS="--max-old-space-size=6144"
+
COPY package.json package-lock.json ./
RUN npm ci --force