Error while building the nextjs application

Trying to build/deploy the project using Dockerfile. The Dockerfile build works locally (Mac M1), and on another platform (GitLab) without any issue but it fails on render:

Hi @Prashant_Singh,

Did you still need assistance here? I see that your most recent deploys were successful.