From 4bf975a1abd0fa3f2cf4e4c26198bf025c2799d9 Mon Sep 17 00:00:00 2001 From: Florent Date: Mon, 31 Jan 2022 21:31:05 +0100 Subject: [PATCH] Install node app in production mode --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 17f21ed..e507f06 100755 --- a/scripts/install +++ b/scripts/install @@ -111,7 +111,7 @@ ynh_script_progression --message="Building Sutom... (this will take some time an pushd "$final_path" ynh_use_nodejs ynh_exec_warn_less npm i -g npm - ynh_exec_warn_less npm install + ynh_exec_warn_less npm install --production popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 2a96a23..7b754e7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -114,7 +114,7 @@ ynh_script_progression --message="Building Sutom... (this will take some time an pushd "$final_path" ynh_use_nodejs ynh_exec_warn_less npm i -g npm - ynh_exec_warn_less npm install + ynh_exec_warn_less npm install --production popd #=================================================