This blog shows simple steps to containerize Next.js app using cloud native buildpacks.
Simple steps to containerize Next.js app deployed with npm packages using docker build.