NextJs Containerization The most fastest docker file while building docker for nextjs in the world Build docker build -t nextjs . Run docker run -dP nextjs