Add max-old-space-size in openwebui.sh (#3993)

This commit is contained in:
Håvard Gjøby Thom 2024-10-27 23:36:01 +01:00 committed by GitHub
parent 0340aec142
commit 28896707bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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