Update domain-locker installation script for corepack

This commit is contained in:
Tobias 2025-11-10 20:55:42 +01:00 committed by GitHub
parent 64d13f88b9
commit 6a233d2659
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,8 +21,8 @@ fetch_and_deploy_gh_release "domain-locker" "Lissy93/domain-locker"
msg_info "Building Domain-Locker"
cd /opt/domain-locker
corepack enable
yarn install --immutable
$STD corepack enable --force
$STD yarn install --immutable
export NODE_OPTIONS="--max-old-space-size=1024"
cat <<EOF >/opt/domain-locker.env
# Database connection
@ -36,7 +36,7 @@ DL_PG_NAME=$PG_DB_NAME
DL_ENV_TYPE=selfHosted
NITRO_PRESET=node_server
EOF
yarn build
$STD yarn build
msg_info "Built Domain-Locker"
msg_info "Creating Service"