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