Commit

Build the sandbox image with the API crate present

The API joined the Cargo workspace, and Cargo needs every member's manifest to resolve it, so the image build failed until apps/api was copied in.

syntaqxcommitted Parent0bc7ca9Browse files
2 files+4−10/2 viewed
+2−1
66 **/build
77 **/.wrangler
88 **/.dev.vars*
9−apps
9+apps/web
10+apps/docs
1011 packages
1112 docs
+2−0
66 FROM rust:1-slim-bookworm AS build
77 WORKDIR /src
88 COPY Cargo.toml Cargo.lock ./
9+# Cargo needs every workspace member present to resolve the workspace.
10+COPY apps/api apps/api
911 COPY crates crates
1012 COPY services services
1113 RUN cargo build --release --package g1t-runner