sets up production-grade multi-stage Docker build for the Next.js app, and configures .dockerignore to exclude dev artifacts, logs, env files, and unnecessary assets from the build context.