1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/photoprism_ynh.git synced 2024-09-03 19:56:41 +02:00
This commit is contained in:
Limezy 2022-06-16 14:56:20 +07:00
parent a4fa31644b
commit 292b448f8a
3 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@
# Tag name of the installed version
PHOTOPRISM_VERSION="220528-efb5d710"
MEMORY_NEEDED="2560"
MEMORY_NEEDED="3000"
NODEJS_VERSION=14
GO_VERSION="1.18"

View file

@ -164,7 +164,7 @@ pushd "$final_path"
# Setup tensorflow library
./scripts/dist/install-tensorflow.sh
# Setup node environment
export NODE_OPTIONS=--max_old_space_size=2048
export NODE_OPTIONS=--max_old_space_size=1024
# Build server from source
ynh_use_nodejs
env "$ynh_node_load_PATH" npm install -g npm

View file

@ -136,7 +136,7 @@ pushd "$final_path"
# Setup tensorflow library
./scripts/dist/install-tensorflow.sh
# Setup node environment
export NODE_OPTIONS=--max_old_space_size=2048
export NODE_OPTIONS=--max_old_space_size=1024
# Build server from source
ynh_use_nodejs
env "$ynh_node_load_PATH" npm install -g npm