mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-30 04:24:43 +00:00
Fix lobehub docker path (#14793)
* Fix docker.cjs path in lobehub.sh * Update lobehub.sh * Update lobehub.sh * Update lobehub.sh * Update lobehub.sh
This commit is contained in:
@@ -54,6 +54,13 @@ function update_script() {
|
||||
unset NODE_OPTIONS
|
||||
msg_ok "Built Application"
|
||||
|
||||
msg_info "Setting Up Standalone"
|
||||
cp -r /opt/lobehub/.next/static /opt/lobehub/.next/standalone/.next/static
|
||||
cp -r /opt/lobehub/public /opt/lobehub/.next/standalone/public
|
||||
cp -r /opt/lobehub/scripts/migrateServerDB/* /opt/lobehub/.next/standalone/
|
||||
cp -r /opt/lobehub/packages/database/migrations /opt/lobehub/.next/standalone/migrations
|
||||
msg_ok "Set Up Standalone"
|
||||
|
||||
msg_info "Running Database Migrations"
|
||||
cd /opt/lobehub
|
||||
set -a && source /opt/lobehub/.env && set +a
|
||||
|
||||
Reference in New Issue
Block a user