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"