I have a sample project assignment to deploy nextjs on azure linux using node version 10.6. On my localhost, i run npm run build which creates a .next
npm run build
.next