Skip to content

Commit c54428c

Browse files
dannyyyLearath
authored andcommitted
Fix lobehub docker path (community-scripts#14793)
* Fix docker.cjs path in lobehub.sh * Update lobehub.sh * Update lobehub.sh * Update lobehub.sh * Update lobehub.sh
1 parent d8ebdbd commit c54428c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

ct/lobehub.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ function update_script() {
5454
unset NODE_OPTIONS
5555
msg_ok "Built Application"
5656

57+
msg_info "Setting Up Standalone"
58+
cp -r /opt/lobehub/.next/static /opt/lobehub/.next/standalone/.next/static
59+
cp -r /opt/lobehub/public /opt/lobehub/.next/standalone/public
60+
cp -r /opt/lobehub/scripts/migrateServerDB/* /opt/lobehub/.next/standalone/
61+
cp -r /opt/lobehub/packages/database/migrations /opt/lobehub/.next/standalone/migrations
62+
msg_ok "Set Up Standalone"
63+
5764
msg_info "Running Database Migrations"
5865
cd /opt/lobehub
5966
set -a && source /opt/lobehub/.env && set +a

0 commit comments

Comments
 (0)