I am not sure how buildpacks work, but try some / all of these:
- The script is missing exec permissions, so modify:
chmod +x ./health_check.sh
- Remove the shebang
#!/bin/bash
fromhealth_check.sh
'causebash
may not be at/bin
? - Remove
bash
from[[services.script_checks]]
command
(ref).