questionnaire docs
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 up

Dockerfile stages:

  1. depsnpm install with build dependencies
  2. buildernpm run build (Next.js standalone output)
  3. 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.

On this page