Docker
Generate a multi-stage Dockerfile, docker-compose.yml and .dockerignore for a Node.js or TypeScript application, adapted to your package manager.
Dockerfile
Multi-stage Node.js build — production-optimized Docker image.
- ID:
dockerfile - Category: Docker
What it does
Creates a multi-stage Dockerfile:
- deps stage — installs production dependencies
- builder stage — builds the application
- runner stage — minimal production image
The Dockerfile adapts to your package manager (uses pnpm commands for pnpm projects, npm ci for npm, etc.).
docker-compose
Local development setup — docker-compose for running the app with services.
- ID:
docker-compose - Category: Docker
What it does
- Creates
docker-compose.ymlwith app service - Configures volume mounts for development
- Includes common services placeholder (database, Redis, etc.)
.dockerignore
Exclude files from Docker builds — keeps images lean.
- ID:
dockerignore - Category: Docker
What it does
Creates .dockerignore with sensible defaults:
node_modules
.next
.nuxt
dist
build
.git
.env*
*.md
coverage
.vscode
.ideaDev Environment
Automate the developer environment: pin the Node.js version with .nvmrc, generate .env.example, configure VSCode and add a Dev Container.
Documentation
Generate README.md, CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md and LICENSE files for your project, with MIT, Apache-2.0 or a placeholder.