feat: create production Dockerfile (#37) #59

Merged
makiolaj merged 1 commits from feature/issue-37-production-dockerfile into develop 2026-02-25 00:12:53 +00:00
Owner

Production-ready Docker image:

Multi-Stage Build:

  • Stage 1: Build Nuxt app with all dependencies
  • Stage 2: Runtime with production deps only
  • Result: ~220MB optimized image

Security:

  • Alpine Linux base (minimal attack surface)
  • Non-root user (nodejs:1001)
  • No unnecessary packages
  • Production dependencies only

Features:

  • dumb-init for proper signal handling
  • Built-in health check at /api/health
  • Comprehensive .dockerignore
  • Environment variable configuration
  • Container health monitoring

Documentation:

  • docker/README.md with usage examples
  • Build and run instructions
  • Environment variables documented
  • Troubleshooting guide

Ready for Coolify/Kubernetes/Docker Compose deployment.

Closes #37

Production-ready Docker image: **Multi-Stage Build:** - Stage 1: Build Nuxt app with all dependencies - Stage 2: Runtime with production deps only - Result: ~220MB optimized image **Security:** - Alpine Linux base (minimal attack surface) - Non-root user (nodejs:1001) - No unnecessary packages - Production dependencies only **Features:** - dumb-init for proper signal handling - Built-in health check at /api/health - Comprehensive .dockerignore - Environment variable configuration - Container health monitoring **Documentation:** - docker/README.md with usage examples - Build and run instructions - Environment variables documented - Troubleshooting guide Ready for Coolify/Kubernetes/Docker Compose deployment. Closes #37
makiolaj added 1 commit 2026-02-25 00:12:43 +00:00
feat: create production Dockerfile (#37)
Some checks failed
Deploy to Coolify / Code Quality (pull_request) Has been cancelled
Deploy to Coolify / Run Tests (pull_request) Has been cancelled
Deploy to Coolify / Deploy to Development (pull_request) Has been cancelled
Deploy to Coolify / Deploy to Production (pull_request) Has been cancelled
Deploy to Coolify / Deploy to Test (pull_request) Has been cancelled
Pull Request Checks / Validate PR (pull_request) Has been cancelled
7209bb06df
- Multi-stage build for optimal image size
- Alpine Linux base (~220MB total)
- Non-root user for security (nodejs:1001)
- dumb-init for proper signal handling
- Built-in health check endpoint
- Production dependencies only
- Comprehensive .dockerignore
- Health check API endpoint
- Docker deployment documentation

Features:
- Optimized layer caching
- Secure non-root execution
- Container health monitoring
- ~220MB final image size
- Ready for Kubernetes/Docker Compose

Closes #37
makiolaj merged commit 60d6e03e87 into develop 2026-02-25 00:12:53 +00:00
Sign in to join this conversation.