Immich: fix small issue with immich-admin "start" script (#7035)

This commit is contained in:
Chris 2025-08-20 15:47:44 -04:00 committed by GitHub
parent 9c86eea347
commit 9d431458ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -109,10 +109,10 @@ function update_script() {
#!/usr/bin/env bash
set -a
. "$INSTALL_DIR"/.env
. ${INSTALL_DIR}/.env
set +a
/usr/bin/node "$APP_DIR"/dist/main.js "\$@"
/usr/bin/node ${APP_DIR}/dist/main.js "\$@"
EOF
chmod +x "$INSTALL_DIR"/start.sh
fi
@ -148,6 +148,7 @@ EOF
export SHARP_FORCE_GLOBAL_LIBVIPS=true
$STD npm install sharp
rm -rf "$APP_DIR"/node_modules/@img/sharp-{libvips*,linuxmusl-x64}
mv "$INSTALL_DIR"/start.sh "$APP_DIR"/bin
msg_ok "Updated ${APP} web and microservices"
cd "$SRC_DIR"/machine-learning