Docker Deployment
Containerize Node.js apps with multi-stage Docker builds, Compose stacks, and production hardening guidance.
- CCM score
- 36 of 100
- skills.sh installs
- 532
- GitHub stars
- 2
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers Dockerfile authoring, image builds, container runs, and deploying to Docker Hub or CI pipelines
- Includes a multi-stage Dockerfile, a Compose file for app, Postgres, Redis, and Nginx, and a
healthcheck.jsscript - Guides non-root users,
.dockerignoreexclusions, Alpine base images, andnpm ci --only=productionfor smaller, safer images - Designed for developers moving Node.js services into dev, staging, and production environments with GitHub Actions builds
Install
$ npx -y skills add pluginagentmarketplace/custom-plugin-nodejs --skill docker-deployment -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Docker Deployment Skill
Master containerizing and deploying Node.js applications with Docker for consistent, portable deployments.
Quick Start
Dockerize Node.js app in 3 steps:
- Create Dockerfile - Define container image
- Build Image -
docker build -t myapp . - Run Container -
docker run -p 3000:3000 myapp
Core Concepts
Basic Dockerfile
FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY . .
EXPOSE 3000
CMD ["node", "src/index.js"]
Multi-Stage Build (Optimized)
# Build stage
FROM node:18-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY . .
# Production stage
FROM node:18-alpine
WORKDIR /app
# Copy from builder
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app .
# Create non-root user
RUN addgroup -g 1001 -S nodejs && \
adduser -S nodejs -u 1001
USER nodejs
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=3s \
CMD node healthcheck.js || exit 1
CMD ["node", "src/index.js"]
Learning Path
Details
- Repository
- github.com/pluginagentmarketplace/custom-plugin-nodejs
- Categories
- DevOps & Cloud, Backend & APIs
- First seen
- Jun 3, 2026
More from pluginagentmarketplace/custom-plugin-nodejs
All 4Similar to Docker Deployment
More DevOps & Clouddocker-containerizationailabs-393/ai-labs-claude-skills1.1K installsProduction and development Docker configurations, docker-compose setups, and deployment guides for Next.js and Node.js apps.
docker-expertdavila7/claude-code-templates902 installsComprehensive Docker containerization guidance covering multi-stage builds, image size reduction, container hardening, and Compose orchestration.
dockerbobmatnyc/claude-mpm-skills1.1K installsContainerization skill that packages applications and dependencies into portable images for consistent development, testing, and production.
docker-best-practicesjosiahsiegel/claude-plugin-marketplace970 installsOpinionated Docker guidance covering Dockerfiles, base images, runtime hardening, and Compose for local development.
docker-compose-productionthebushidocollective/han489 installsProduction Docker Compose templates with hardened security, resource limits, health checks, logging, and backups.
bun-dockersecondsky/claude-skills434 installsContainerization guide for running Bun applications with official oven/bun images and multi-stage builds.