Nx 16.1.4 + Next.js # Build app npx nx build # Copy to another folder cp -r dist/next4 /tmp cd /tmp/next4 npm i # Run production app npx next start