diff --git a/.nixpacks/Dockerfile b/.nixpacks/Dockerfile index 261c2ca3..d3bf04ac 100644 --- a/.nixpacks/Dockerfile +++ b/.nixpacks/Dockerfile @@ -20,6 +20,9 @@ FROM rust:1.92-bookworm AS rustbuild WORKDIR /src COPY Cargo.toml Cargo.lock ./ COPY node ./node +# Crates include_str! files from plugins/ (e.g. plugins/video/module.toml), so +# the Rust stage needs them too or the build fails with "couldn't read". +COPY plugins ./plugins RUN cargo build --release --bin c0mpute # ── stage 2: build the Next.js site (Bun) ──────────────────────────────── diff --git a/Dockerfile.web b/Dockerfile.web index bfdf9957..522f2cce 100644 --- a/Dockerfile.web +++ b/Dockerfile.web @@ -15,6 +15,9 @@ FROM rust:1.92-bookworm AS rustbuild WORKDIR /src COPY Cargo.toml Cargo.lock ./ COPY node ./node +# Crates include_str! files from plugins/ (e.g. plugins/video/module.toml), so +# the Rust stage needs them too or the build fails with "couldn't read". +COPY plugins ./plugins RUN cargo build --release --bin c0mpute # ── stage 2: build the Next.js site (Bun) ────────────────────────────────