A production Next.js Dockerfile with standalone output, explained: build-time NEXT_PUBLIC variables, a non-root user, image size and the common errors.