From 8840fabc1f67aca7d41deed0daf1274c8fe1835f Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 7 May 2022 09:01:29 -0400 Subject: [PATCH] Update photoprism-install.sh --- setup/photoprism-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/photoprism-install.sh b/setup/photoprism-install.sh index 710b599d..2375721a 100644 --- a/setup/photoprism-install.sh +++ b/setup/photoprism-install.sh @@ -123,7 +123,7 @@ git checkout release &>/dev/null msg_ok "Cloned PhotoPrism" msg_info "Building PhotoPrism" -make all &>/dev/null +NODE_OPTIONS=--max_old_space_size=2048 make all &>/dev/null ./scripts/build.sh prod /opt/photoprism/bin/photoprism &>/dev/null cp -a assets/ /opt/photoprism/assets/ &>/dev/null msg_ok "Built PhotoPrism"