Update domain-locker-install.sh

This commit is contained in:
Tobias 2025-11-11 09:43:58 +01:00 committed by GitHub
parent d4b94c3f20
commit 974d510c30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,11 +21,8 @@ fetch_and_deploy_gh_release "domain-locker" "Lissy93/domain-locker"
msg_info "Building Domain-Locker"
cd /opt/domain-locker
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0 && corepack enable
yarn install --immutable
yarn add @angular/build@$(curl -s https://raw.githubusercontent.com/Lissy93/domain-locker/refs/heads/main/package-lock.json | jq -r '.packages["node_modules/@angular/build"].version')
yarn add typescript@5.5
export NODE_OPTIONS="--max-old-space-size=2048"
npm install --legacy-peer-deps
export NODE_OPTIONS="--max-old-space-size=4096"
cat <<EOF >/opt/domain-locker.env
# Database connection
DL_PG_HOST=localhost
@ -38,7 +35,7 @@ DL_PG_NAME=$PG_DB_NAME
DL_ENV_TYPE=selfHosted
NITRO_PRESET=node_server
EOF
yarn build
npm build
msg_info "Built Domain-Locker"
msg_info "Creating Service"