To start $ docker build . -t docker-nextjs-1 $ docker run -p 3000:3000 docker-nextjs-1 or $ npm ci $ npm run dev