We're using nextjs but not a full featured version, should document or link out to an explanation of what the differences are
https://nextjs.org/docs/advanced-features/static-html-export#supported-features
basically we dont support server side rendering / api routes, and only support static pages
can also investigate if the bundle can be separated easily from nextjs to actually deploy the service to k8s + static pages on cdn