mirror of
https://github.com/nearai/ironclaw.git
synced 2026-09-02 23:56:24 +08:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user