From dd4c8482522693443835c0756baaa083d7d440bf Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Tue, 24 Jun 2025 19:22:49 +0200 Subject: [PATCH] Fix entrypoint.sh to run app with main PID Using exec to call `node main` ensures that SIGTERM and SIGINT are propagated to the app when the container is requested to shut down. --- docker/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 71cf6f2dc..440886903 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -9,4 +9,4 @@ echo "Seeding the database" npx prisma db seed echo "Starting the server" -node main +exec node main