ubiquitous-invention/docker
Randall Stillwell 3ddbb4fb83 fix(deploy): preserve pnpm per-package node_modules in docker builds
The previous multi-stage `deps` → `builder` split copied only the root
/app/node_modules from the deps stage, but pnpm workspaces also create
per-package node_modules directories (e.g. apps/web/node_modules) that
contain the .bin symlinks for `next`, `tsup`, etc. Without those, the
builder stage failed with `sh: tsup: not found` and `sh: next: not found`.

Collapse `deps` and `builder` into a single stage so the per-package
node_modules survive intact. pnpm's content-addressable store keeps
re-installs nearly free on cache hits, and Docker layer caching still
short-circuits the install step when only source files change.

For collab and mcp runner stages, also copy the per-app node_modules
so runtime dependency resolution works.

Made-with: Cursor
2026-04-26 22:52:04 -05:00
..
.dockerignore feat: Full project management application scaffold 2026-03-26 22:39:16 -05:00
docker-compose.coolify.yml fix(deploy): use repo-root build context in coolify compose 2026-04-26 21:52:29 -05:00
docker-compose.dev.yml feat: Full project management application scaffold 2026-03-26 22:39:16 -05:00
docker-compose.yml feat: Full project management application scaffold 2026-03-26 22:39:16 -05:00
Dockerfile.collab fix(deploy): preserve pnpm per-package node_modules in docker builds 2026-04-26 22:52:04 -05:00
Dockerfile.mcp fix(deploy): preserve pnpm per-package node_modules in docker builds 2026-04-26 22:52:04 -05:00
Dockerfile.web fix(deploy): preserve pnpm per-package node_modules in docker builds 2026-04-26 22:52:04 -05:00
next.config.docker.ts feat: Full project management application scaffold 2026-03-26 22:39:16 -05:00