From b994a5242223622d1754b66ebd40edfc75642d5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= <37316281+yanhao98@users.noreply.github.com> Date: Sun, 1 Dec 2024 00:47:41 +0800 Subject: [PATCH] fix: use exec to properly handle container signals (#501) - Replace direct command execution with exec to make app PID 1 - Ensures proper signal propagation in container - Follows container best practices for process management --- script/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/entrypoint.sh b/script/entrypoint.sh index 67c3a25..32480a4 100644 --- a/script/entrypoint.sh +++ b/script/entrypoint.sh @@ -1,3 +1,3 @@ #!/bin/sh printf "nameserver 127.0.0.11\nnameserver 8.8.4.4\nnameserver 223.5.5.5\n" > /etc/resolv.conf -/dashboard/app \ No newline at end of file +exec /dashboard/app \ No newline at end of file