From 79f345aae624f14b018e3009fac46b9e6270a890 Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Sat, 18 Apr 2026 22:29:08 -0700 Subject: [PATCH] fix: install circuitforge-orch in kiwi image for cf-orch-agent sidecar cf-orch-agent in compose.override.yml was crash-looping (exit 127) because the circuitforge_orch package wasn't installed in the kiwi conda env. Same COPY + editable-install pattern already used for circuitforge-core. --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 611c924..86dbf89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ COPY circuitforge-core/ ./circuitforge-core/ RUN conda run -n base pip install --no-cache-dir -e ./circuitforge-core +# Install circuitforge-orch — needed for the cf-orch-agent sidecar (compose.override.yml) +COPY circuitforge-orch/ ./circuitforge-orch/ + # Create kiwi conda env and install app COPY kiwi/environment.yml . RUN conda env create -f environment.yml @@ -22,8 +25,9 @@ COPY kiwi/ ./kiwi/ # they never end up in the cloud image regardless of .dockerignore placement. RUN rm -f /app/kiwi/.env -# Install cf-core into the kiwi env BEFORE installing kiwi (kiwi lists it as a dep) +# Install cf-core and cf-orch into the kiwi env BEFORE installing kiwi RUN conda run -n kiwi pip install --no-cache-dir -e /app/circuitforge-core +RUN conda run -n kiwi pip install --no-cache-dir -e /app/circuitforge-orch WORKDIR /app/kiwi RUN conda run -n kiwi pip install --no-cache-dir -e .