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