From b32938ef436405f7502330eeb485c201aee96217 Mon Sep 17 00:00:00 2001 From: Kayos Date: Wed, 13 May 2026 10:30:58 -0700 Subject: [PATCH] dockerfile: copy vendor/ during cache layer (path-dep needs full crate) --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f34f0df..f2d3850 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,10 +17,14 @@ FROM rust:1.95-bookworm AS builder WORKDIR /build # Cache the dependency graph: copy manifests first, fetch + build -# stubs, THEN drop in real sources. +# stubs, THEN drop in real sources. The vendored clawdforge SDK +# needs its own manifest + source available during the cache layer +# (path dep — Cargo resolves it at workspace load time, not at +# crate-compile time). COPY Cargo.toml Cargo.lock ./ COPY skald-core/Cargo.toml skald-core/Cargo.toml COPY skald/Cargo.toml skald/Cargo.toml +COPY vendor vendor COPY migrations migrations RUN mkdir -p skald-core/src skald/src \