From de48094144ab26b0f3f6ffe5b765ae322b968c81 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin <daniel@molkentin.de> Date: Tue, 14 Nov 2023 22:39:14 +0100 Subject: [PATCH] Use exec to let the container runtime send signals straight to rails (#5505) This is recommended practice. See the docker documentation at https://docs.docker.com/develop/develop-images/instructions/#entrypoint for more information. Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com> --- bin/start | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/start b/bin/start index a6838250..0952481f 100755 --- a/bin/start +++ b/bin/start @@ -28,4 +28,4 @@ rails assets:precompile rails db:create rails db:migrate:with_data -rails s -b 0.0.0.0 -p $PORT +exec rails s -b 0.0.0.0 -p $PORT -- GitLab