mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
feat: relocate scripts, PATH update (#20002)
Relocate scripts, and PATH updates
This commit is contained in:
parent
576f681b5c
commit
f33e1ad94c
10 changed files with 60 additions and 40 deletions
|
|
@ -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 -- "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue