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:
parent
dfe993d891
commit
fd9123b31b
1 changed files with 9 additions and 8 deletions
|
@ -144,19 +144,20 @@ rsync -a "$final_path/build/output/usr/src/app/node_modules/" "$final_path/serve
|
||||||
ynh_secure_remove --file="$final_path/build/output"
|
ynh_secure_remove --file="$final_path/build/output"
|
||||||
|
|
||||||
# Install immich web
|
# Install immich web
|
||||||
#pushd $final_path/build
|
pushd $final_path/build
|
||||||
# detect_arch
|
detect_arch
|
||||||
# ./docker-image-extract altran1502/immich-web:$IMMICH_WEB_VERSION
|
./docker-image-extract altran1502/immich-web:$IMMICH_WEB_VERSION
|
||||||
#popd
|
popd
|
||||||
#mkdir -p "$final_path/web/"
|
mkdir -p "$final_path/web/"
|
||||||
#pushd $final_path/build/output/usr/src/app
|
pushd $final_path/build/output/usr/src/app
|
||||||
|
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH npm ci
|
||||||
# npm config set user 0
|
# npm config set user 0
|
||||||
# npm config set unsafe-perm true
|
# npm config set unsafe-perm true
|
||||||
# sudo /bin/sh entrypoint.sh
|
# sudo /bin/sh entrypoint.sh
|
||||||
# sudo tree
|
# sudo tree
|
||||||
#popd
|
popd
|
||||||
#rsync -a "$final_path/build/output/usr/src/app/build/" "$final_path/web/"
|
#rsync -a "$final_path/build/output/usr/src/app/build/" "$final_path/web/"
|
||||||
#ynh_secure_remove --file="$final_path/build/output"
|
ynh_secure_remove --file="$final_path/build/output"
|
||||||
|
|
||||||
# Install immich machine learning
|
# Install immich machine learning
|
||||||
pushd $final_path/build
|
pushd $final_path/build
|
||||||
|
|
Loading…
Add table
Reference in a new issue