ubiquitous-invention/docker
varutasu 491d196384
fix(docker): reorder build stages so web-build comes after its --from= sources (#2)
Coolify's builder fails the build at parse time with:
  "cannot copy from stage 'collab-build', it needs to be defined before
   current stage 'web-build'"

The previous commit introduced forward COPY --from references that work
on newer BuildKit DAG builders but not on the legacy Docker builder
Coolify uses. Move `collab-build` and `mcp-build` above `web-build` in
lexical order so the references resolve. Functionally identical — the
DAG ordering effect is the same — just expressed in a way the older
builder accepts.

Added a NOTE comment above the stages so the next person who tries to
"clean up" the file order doesn't reintroduce the same regression.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-05 21:13:39 -05:00
..
.dockerignore feat: Full project management application scaffold 2026-03-26 22:39:16 -05:00
docker-compose.coolify.yml fix(docker): serialize build stages so next build doesn't OOM on the 8 GB host 2026-06-05 21:02:39 -05:00
docker-compose.dev.yml feat: Full project management application scaffold 2026-03-26 22:39:16 -05:00
docker-compose.yml docker: unify per-service Dockerfiles into one multi-stage file 2026-04-27 14:38:39 -05:00
Dockerfile fix(docker): reorder build stages so web-build comes after its --from= sources (#2) 2026-06-05 21:13:39 -05:00
next.config.docker.ts docker: skip type-check + lint during prod web build 2026-04-27 14:58:12 -05:00