docker-development

Installation
SKILL.md

Docker Development

Core Principles

  1. Minimal -- Alpine/distroless, multi-stage
  2. Secure -- Non-root USER, no layer secrets, pin versions
  3. Testable -- entrypoint bypass, DNS mocking
  4. Cache-efficient -- deps first, clean in-layer

Quick Reference

Multi-Stage Build (Node.js)

FROM node:24-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY . .
Installs
377
GitHub Stars
25
First Seen
Mar 16, 2026