container: cargo fetch using root Cargo.toml

This commit is contained in:
naskya 2024-05-11 19:30:00 +09:00
parent ff7fffc711
commit f81739b8d1
No known key found for this signature in database
GPG Key ID: 712D413B3A9FED5C
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ COPY packages/macro-rs/src/lib.rs packages/macro-rs/src/
# Configure pnpm, and install backend-rs dependencies
RUN corepack enable && corepack prepare pnpm@latest --activate && pnpm --filter backend-rs install
RUN cargo fetch --locked --manifest-path /firefish/packages/backend-rs/Cargo.toml
RUN cargo fetch --locked --manifest-path Cargo.toml
# Copy in the rest of the rust files
COPY packages/backend-rs packages/backend-rs/