Skip to content

Commit 047ed3c

Browse files
committed
- improved sleep command in main app container to keep it alive: zero delay responding to stop
1 parent 7b18d60 commit 047ed3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/php-8.2/start-container

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ if [ $# -gt 0 ]; then
99
exec gosu $WWWUSER "$@"
1010
else
1111
# We want the container to stay alive after starting, but not really do anything until asked
12-
exec sleep infinity
12+
exec /bin/bash -c "trap : TERM INT; sleep infinity & wait"
1313
fi

0 commit comments

Comments
 (0)