1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mobilizon_ynh.git synced 2024-09-03 19:46:19 +02:00

adjust the maximum memory used

This commit is contained in:
yalh76 2020-10-16 19:34:41 +02:00
parent 68bf3a27ad
commit 9488e76cf0
2 changed files with 2 additions and 2 deletions

View file

@ -146,7 +146,7 @@ config="$final_path/$app/config/prod.secret.exs"
pushd $final_path/$app/js
ynh_use_nodejs
sudo -u $app env PATH=$PATH yarn install
sudo -u $app env PATH=$PATH yarn run build
sudo -u $app env PATH=$PATH NODE_BUILD_MEMORY=1024 yarn run build
popd
pushd $final_path/$app

View file

@ -173,7 +173,7 @@ chown -R "$app":"$app" "$final_path"
pushd $final_path/$app/js
ynh_use_nodejs
sudo -u $app env PATH=$PATH yarn install
sudo -u $app env PATH=$PATH yarn run build
sudo -u $app env PATH=$PATH NODE_BUILD_MEMORY=1024 yarn run build
popd
pushd $final_path/$app