Nx Docker Build with a Pruned Lockfile and Per-Service Layer Caching
Build lean per-service Docker images in an Nx monorepo using generatePackageJson, a pruned lockfile, and Docker layer cache ordering that survives CI.
13 min read
Tag
Build lean per-service Docker images in an Nx monorepo using generatePackageJson, a pruned lockfile, and Docker layer cache ordering that survives CI.
13 min read
Build one Docker image per Nx service using generatePackageJson, a pruned lockfile and a dist-only docker context for reproducible, cache-friendly installs.
17 min read
Use Nx generatePackageJson to emit a pruned lockfile per app, make dist the Docker context, and get small images with install layers that cache per service.
13 min read