Skip to content

[CI/CD] Standalone Next.js Dockerfile for Kubernetes/Cloud Run deployment #708

Description

@nanaf6203-bit

Problem Statement

Deploy docs target Vercel. There's no Dockerfile, which prevents Kubernetes / Cloud Run / ECS deployment.

Acceptance Criteria

  • A multi-stage Dockerfile producing node:20-slim standalone image
  • Build outputs to next.config.ts output: 'standalone'
  • Run on port 3000; non-root user
  • Documented in docs/deployment.md

Implementation Notes

Enable output: 'standalone' in next.config.ts. Use multi-stage with pnpm install for reproducible cache.

Files Likely Affected

  • Dockerfile (new)
  • next.config.ts
  • docs/deployment.md

Difficulty / Effort

  • Difficulty: Moderate
  • Effort: T-Shirt M

Labels

ci-cd, priority:medium, area:infrastructure

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions