Hello, World
A Next.js deploy template with Docker, nginx, and one-command deployments.
Next.js 16React 19Tailwind v4shadcn/uiDockerTypeScript
Project Setup
This template is configured for containerised deployment with standalone output. Configuration lives in
project.json — set your registry, image name, and target platforms there.Make Commands
Everything is driven through the Makefile.
make buildBuild Docker image for current platformmake buildxBuild multi-platform image, load locallymake pushBuild multi-platform image and push to registrymake runRun the container on port 3000make stopStop the running containermake cleanRemove the local Docker imagemake upStart dev environment with Docker Composemake downStop the dev environmentmake infoPrint build configurationmake generate-nginxGenerate nginx reverse proxy configmake generate-manifestBuild, push, and create deployment manifestDeployment Flow
Run
make generate-manifest to build, push, and package a deployment manifest. Transfer the tarball to your server and run deploy.py to pull the image, install the nginx config, and start the container.Edit app/page.tsx to get started.