1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/immich_ynh.git synced 2024-09-03 20:36:24 +02:00

Update install

This commit is contained in:
Limezy 2022-08-31 01:42:24 +07:00
parent d77a98f885
commit 361b176b8d

View file

@ -134,7 +134,7 @@ ynh_script_progression --message="Making install..."
# Install immich server
pushd $final_path/build
detect_arch
./docker-image-extract altran1502/immich-server:$PHOTOPRISM_SERVER_VERSION
./docker-image-extract altran1502/immich-server:$IMMICH_SERVER_VERSION
popd
mkdir -p "$final_path/server/dist/"
mkdir -p "$final_path/server/node_modules/"
@ -145,7 +145,7 @@ ynh_secure_remove --file="$final_path/build/output"
# Install immich web
pushd $final_path/build
detect_arch
./docker-image-extract altran1502/immich-web:$PHOTOPRISM_WEB_VERSION
./docker-image-extract altran1502/immich-web:$IMMICH_WEB_VERSION
popd
mkdir -p "$final_path/web/"
rsync -a "$final_path/build/output/usr/src/app/build/index.js" "$final_path/web/"
@ -154,7 +154,7 @@ ynh_secure_remove --file="$final_path/build/output"
# Install immich machine learning
pushd $final_path/build
detect_arch
./docker-image-extract altran1502/immich-web:$PHOTOPRISM_ML_VERSION
./docker-image-extract altran1502/immich-web:$IMMICH_ML_VERSION
popd
mkdir -p "$final_path/ml/dist/"
mkdir -p "$final_path/ml/node_modules/"