Next/image not working in production

Hi! I’m having trouble with next/images when deployting my site: Everything works fine developing in local.
Images in public folder are not loading using the next/image componente. It shows this error in the console:
Failed to load resource: the server responded with a status of 502 ()
Deployed to Vercel and it worked with no problems, but I want to continue using Netlify, hope you can take a look at this! My repo is: GitHub - tom-villanueva/mechanikoi-landing

Thanks in advance!

The site doesn’t seem to exist.

However, status 502 sounds like function timeout issue. Make sure the source images are not too large and you’re not using resource-heavy target image formats like AVIF