docker-node
Installation
SKILL.md
Docker (Node.js Containerization)
Overview
Docker enables consistent environments for Node.js applications across development, testing, and production. Multi-stage builds reduce image size, docker-compose simplifies local development.
Base Image: node:20-alpine (recommended for small size)
Use case: Deploy TypeScript APIs, ensure consistent environments
Key Benefit: "Works on my machine" → "Works everywhere"
When to Use This Skill
✅ Use Docker when:
- Deploying to cloud (AWS, GCP, Azure)
- Need consistent dev environment across team
- Running CI/CD pipelines
- Deploying with Kubernetes
- Need isolated PostgreSQL/Redis for development