mirror of
https://github.com/rustmailer/bichon.git
synced 2026-10-31 11:57:43 +00:00
bichon-server runs as PID 1 without an init shim, so a healthcheck process reparented to it (the shell is killed when a check times out, curl keeps running) is never waited for and stays a zombie. Install tini and make it the entrypoint so orphans are reaped and SIGTERM is forwarded. Bound curl with --max-time 4 so a stalled check exits before Docker's 5s timeout instead of being orphaned.