Operations
Docker Deployment
How the main app is containerized and deployed.
Docker Deployment
The main app is deployed via Docker. The docs app is excluded from the Docker image.
Docker build
docker-compose upDockerfile stages:
- deps —
npm installwith build dependencies - builder —
npm run build(Next.js standalone output) - runtime — Node.js Alpine with
dumb-init, standalone server
Standalone output
next.config.mjs sets output: "standalone" for optimized Docker images.
Docs app exclusion
The documentation/ folder is listed in .dockerignore and is never copied into the production image.
Environment
Production environment variables are set via deployment config (not committed to repo). See Environment Variables.
CI/CD
Jenkins pipeline defined in Jenkinsfile at repo root. Builds and deploys the main app only.