use exec for npm run

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2024-09-17 10:10:54 +02:00
parent 3218e429ec
commit 8d062f7461

View file

@ -14,6 +14,4 @@ fi
export REDIS_URL="redis://:$REDIS_HOST_PASSWORD@$REDIS_HOST/$REDIS_DB_INDEX"
# Run it
npm run server:start
exec "$@"
exec npm run server:start