When using ECR as the source in AWS App Runner, the following Health check on port “XXXX” error occurred.

Regarding the above, I checked the “Application logs” as follows.

The following was output.

Regarding the above, I found the following Stack Overflow post.
Among the answers, the following was suggested.
After trying this, I was able to deploy successfully.
I hope this serves as a useful reference for those experiencing similar issues.