feat: relocate scripts, PATH update (#20002)

Relocate scripts, and PATH updates
This commit is contained in:
Min Idzelis
2025-07-18 11:19:06 -04:00
committed by GitHub
parent 576f681b5c
commit f33e1ad94c
10 changed files with 60 additions and 40 deletions

View File

@@ -1,3 +1,9 @@
#!/usr/bin/env bash
node /usr/src/app/node_modules/.bin/nest start --debug "0.0.0.0:9230" --watch -- "$@"
if [ "$IMMICH_ENV" != "development" ]; then
echo "This command can only be run in development environments"
exit 1
fi
cd /usr/src/app || exit 1
node ./node_modules/.bin/nest start --debug "0.0.0.0:9230" --watch -- "$@"