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
dcf88ecb48
commit
0c7cd66c60
1 changed files with 3 additions and 2 deletions
|
@ -162,9 +162,10 @@ popd
|
|||
mkdir -p "$final_path/web/"
|
||||
chown -R $app:$app $final_path/build/output/usr/src/app
|
||||
pushd $final_path/build/output/usr/src/app
|
||||
#sed -i 's/3000/'$port'/' package.json
|
||||
sed -i 's/3000/'$port'/' package.json
|
||||
sed -i 's/vite build/vite build --port '$port'/' package.json
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH npm ci
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH npm run build --port $port
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH npm run build
|
||||
popd
|
||||
rsync -a "$final_path/build/output/usr/src/app/" "$final_path/web/"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue