Add max-old-space-size in openwebui.sh

This commit is contained in:
Håvard Thom 2024-10-27 23:27:12 +01:00
parent 0340aec142
commit 852b1c0cf2
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ then
fi
systemctl stop open-webui.service
npm install &>/dev/null
export NODE_OPTIONS="--max-old-space-size=3584"
npm run build &>/dev/null
cd ./backend
pip install -r requirements.txt -U &>/dev/null