1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/sutom_ynh.git synced 2024-09-03 20:26:15 +02:00

Install node app in production mode

This commit is contained in:
Florent 2022-01-31 21:31:05 +01:00 committed by Florent F
parent 3203df977e
commit 4bf975a1ab
2 changed files with 2 additions and 2 deletions

View file

@ -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
#=================================================

View file

@ -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
#=================================================