Nx Docker Build with a Pruned Lockfile: One Minimal Image per Service
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
Tag
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
Build per-service Docker images in an Nx monorepo from compiled output plus a pruned package.json and lockfile, verify them, and catch what pruning misses.
13 min read