Update homarr.sh

This commit is contained in:
Tobias 2025-05-16 22:46:49 +02:00 committed by GitHub
parent 80b63ac95d
commit 30abe3e9bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -124,8 +124,8 @@ EOF
fetch_and_deploy_gh_release "homarr-labs/homarr" fetch_and_deploy_gh_release "homarr-labs/homarr"
mv /opt/homarr-data-backup/.env /opt/homarr/.env mv /opt/homarr-data-backup/.env /opt/homarr/.env
cd /opt/homarr cd /opt/homarr
NODE_ENV='production' unset NODE_ENV
$STD pnpm install --recursive --prod $STD pnpm install
$STD pnpm build $STD pnpm build
cp /opt/homarr/apps/nextjs/next.config.ts . cp /opt/homarr/apps/nextjs/next.config.ts .
cp /opt/homarr/apps/nextjs/package.json . cp /opt/homarr/apps/nextjs/package.json .