From b381efeefce0dc2e345ec9b6785e7d94aabfbf18 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Tue, 2 Apr 2024 22:05:23 +0200 Subject: [PATCH] Even more RAM --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 4cf14ff..590c3fd 100644 --- a/scripts/install +++ b/scripts/install @@ -132,7 +132,7 @@ pushd "$install_dir/live" env $ynh_node_load_PATH corepack enable ynh_exec_warn_less ynh_exec_as "$app" env $ynh_node_load_PATH corepack enable ynh_exec_warn_less ynh_exec_as "$app" env $ynh_node_load_PATH corepack prepare --activate - ynh_exec_warn_less ynh_exec_as "$app" env $ynh_node_load_PATH NODE_OPTIONS="--max-old-space-size=3000" yarn install + ynh_exec_warn_less ynh_exec_as "$app" env $ynh_node_load_PATH NODE_OPTIONS="--max-old-space-size=5000" yarn install echo "SAFETY_ASSURED=1">> "$config" ynh_exec_warn_less ynh_exec_as "$app" env RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle exec rails db:migrate --quiet ynh_exec_warn_less ynh_exec_as "$app" env RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle exec rails assets:precompile --quiet