docker-build

Installation
SKILL.md

Docker Build Patterns

Overview

Production-ready Docker configurations for Go, Python/FastAPI, and React/Bun. Multi-stage builds, Docker Compose for local dev, and optimization patterns.

Core principle: Small images, fast builds, layer caching. Dev and prod parity.

Go Dockerfile (Multi-stage)

FROM golang:1.23-alpine AS builder
RUN apk add --no-cache git
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /bin/api ./cmd/api
Installs
3
GitHub Stars
3
First Seen
12 days ago
docker-build — vndee/engineering-skills