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/bashfromhealth_check.sh'causebashmay not be at/bin? - Remove
bashfrom[[services.script_checks]]command(ref).