Commit 43075d0
fix(deploy): correct dockerfile path derivation for subdirectory deployments
When deploying a service from a subdirectory (e.g., path: "services/contact-intelligence"),
the dockerfile path and build context must be relative to the repo root, not the
analyzed subdirectory.
Before: dockerfile="Dockerfile", context="." (relative to subdirectory)
After: dockerfile="services/contact-intelligence/Dockerfile", context="services/contact-intelligence"
Changes:
- Extract dockerfile filename, then prepend the subpath to construct repo-relative paths
- Follow the same pattern as orchestrator.rs (commit 3cb8698)
- Add docker_config to deployment response for visibility
- Add debug logging for path derivation troubleshooting
Fixes cloud runner failing with "unable to evaluate symlinks in Dockerfile path:
lstat /workspace/source/Dockerfile: no such file or directory" when deploying
monorepo services.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent af30a70 commit 43075d0
1 file changed
Lines changed: 50 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
| 564 | + | |
564 | 565 | | |
565 | 566 | | |
566 | 567 | | |
567 | 568 | | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
575 | 577 | | |
576 | 578 | | |
577 | 579 | | |
578 | 580 | | |
579 | 581 | | |
580 | 582 | | |
581 | 583 | | |
582 | | - | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
583 | 606 | | |
584 | | - | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
585 | 622 | | |
586 | 623 | | |
587 | 624 | | |
| |||
644 | 681 | | |
645 | 682 | | |
646 | 683 | | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
647 | 688 | | |
648 | 689 | | |
649 | 690 | | |
| |||
0 commit comments