Download deploy/openwebui-subpath/0002-node-build-heap.patch from SushantGautam/simpleaudit-studio: direct link, hf CLI and curl.
- Browser
- Download file 381 Bytes
-
https://huggingface.co/spaces/SushantGautam/simpleaudit-studio/resolve/main/deploy/openwebui-subpath/0002-node-build-heap.patch
- Command line
-
hf download hf://spaces/SushantGautam/simpleaudit-studio/deploy/openwebui-subpath/0002-node-build-heap.patch
-
curl -L -o 0002-node-build-heap.patch https://huggingface.co/spaces/SushantGautam/simpleaudit-studio/resolve/main/deploy/openwebui-subpath/0002-node-build-heap.patch
381 Bytes
| diff --git a/Dockerfile b/Dockerfile | |
| index 14d7ceaa..9828ce46 100644 | |
| --- a/Dockerfile | |
| +++ b/Dockerfile | |
| 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 | |