Update domain-locker installation script for corepack
This commit is contained in:
parent
64d13f88b9
commit
6a233d2659
@ -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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user