Add max-old-space-size in openwebui.sh (#3993)
This commit is contained in:
parent
0340aec142
commit
28896707bc
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue