Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .nixpacks/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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) ────────────────────────────────
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile.web
Original file line number Diff line number Diff line change
Expand Up @@ -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) ────────────────────────────────
Expand Down
Loading