From fbb96f2e27b6478b3c321e4da9ab06a0766e9a31 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 67c3a25f..32480a49 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