Docker deploy error for NextJS

I am running a NextJS app and I am deploying using Docker. It always deployed but right now can’t deploy returning an error from the build command on the docker file.
I can’t seem to understand what is happening.

Can you build your NextJS app locally? I suspect a yarn.json.lock/package.json.lock NPM issue.

Yes. Built locally and saw the error properly. Thank you @rophilogene

1 Like

You’re welcome. Let me know if you need help :slight_smile:

I had the same problem, thanks

1 Like