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> |
||
|---|---|---|
| .. | ||
| .dockerignore | ||
| docker-compose.coolify.yml | ||
| docker-compose.dev.yml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| next.config.docker.ts | ||