1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borgwarehouse_ynh.git synced 2024-09-03 18:16:17 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-10-17 13:26:14 +02:00
parent 51ad41e908
commit 86e43e7631

View file

@ -70,7 +70,7 @@ chown $app:$app "$install_dir/app/.env.local"
#================================================= #=================================================
ynh_script_progression --message="Installing $app..." --weight=10 ynh_script_progression --message="Installing $app..." --weight=10
pushd $install_dir/app/ pushd $install_dir/app
ynh_use_nodejs ynh_use_nodejs
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm ci ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm ci
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH NODE_ENV=production $ynh_npm run build ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH NODE_ENV=production $ynh_npm run build