Update oweb
This commit is contained in:
parent
98368bdd1b
commit
8e1d8bdefa
@ -52,6 +52,7 @@ function update_script() {
|
|||||||
cd /opt/openwebui
|
cd /opt/openwebui
|
||||||
$STD npm install
|
$STD npm install
|
||||||
export NODE_OPTIONS="--max-old-space-size=3584"
|
export NODE_OPTIONS="--max-old-space-size=3584"
|
||||||
|
sed -i "s/git rev-parse HEAD/openssl rand -hex 20/g" /opt/openwebui/svelte.config.js
|
||||||
$STD npm run build
|
$STD npm run build
|
||||||
cd ./backend
|
cd ./backend
|
||||||
$STD pip install -r requirements.txt -U
|
$STD pip install -r requirements.txt -U
|
||||||
|
@ -49,6 +49,7 @@ ENABLE_OLLAMA_API=false
|
|||||||
EOF
|
EOF
|
||||||
$STD npm install
|
$STD npm install
|
||||||
export NODE_OPTIONS="--max-old-space-size=3584"
|
export NODE_OPTIONS="--max-old-space-size=3584"
|
||||||
|
sed -i "s/git rev-parse HEAD/openssl rand -hex 20/g" /opt/openwebui/svelte.config.js
|
||||||
$STD npm run build
|
$STD npm run build
|
||||||
msg_ok "Installed Open WebUI"
|
msg_ok "Installed Open WebUI"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user