fix(docker): copy profiles/ into build stages (#2289)

* fix(docker): copy profiles/ directory into build stages

The deployment profiles feature (152e8b05) added include_str!() references
to profiles/*.toml but never updated the Dockerfile, breaking Docker builds.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(docker): remove profiles/ from planner stage

cargo chef prepare only scans manifests, not compile-time macros.
Having profiles/ in the planner stage needlessly invalidates the
dependency cache when a profile TOML changes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Henry Park
2026-04-10 11:16:54 -07:00
committed by GitHub
parent 2cc5546017
commit 1b8e1cc6b5

View File

@@ -63,6 +63,7 @@ COPY channels-src/ channels-src/
COPY tools-src/ tools-src/
COPY wit/ wit/
COPY providers.json providers.json
COPY profiles/ profiles/
RUN cargo build --profile dist --bin ironclaw