A Next.js hello-world app packaged as a Docker image
503
A Next.js application packaged as a Docker image.
docker pull arifhossen/nextjs-app:latest
docker run -d -p 3000:3000 --name nextjs-app arifhossen/nextjs-app:latest
Then open http://localhost:3000
docker run -d -p 3000:3000 \
-e DATABASE_URL="your-db-url" \
-e NODE_ENV=production \
--name nextjs-app \
arifhossen/nextjs-app:latest
docker logs -f nextjs-app # view logs
docker ps # check status
docker stop nextjs-app # stop
docker rm -f nextjs-app # remove
sha-<commit> — built from a specific commitlatest — most recent buildContent type
Image
Digest
sha256:fc143f0b3…
Size
63.9 MB
Last updated
about 2 months ago
docker pull arifhossen/nextjs-app