container: COPY Cargo.toml and Cargo.lock in one step
This commit is contained in:
parent
7a099872e8
commit
8709e5b185
1 changed files with 1 additions and 2 deletions
|
@ -17,8 +17,7 @@ ENV PATH="/root/.cargo/bin:${PATH}"
|
|||
COPY packages/macro-rs packages/macro-rs/
|
||||
COPY packages/backend-rs/src/lib.rs packages/backend-rs/src/
|
||||
COPY packages/backend-rs/Cargo.toml packages/backend-rs/Cargo.toml
|
||||
COPY Cargo.toml Cargo.toml
|
||||
COPY Cargo.lock Cargo.lock
|
||||
COPY Cargo.toml Cargo.lock ./
|
||||
|
||||
# Configure pnpm, and install backend-rs dependencies
|
||||
RUN corepack enable && corepack prepare pnpm@latest --activate && pnpm --filter backend-rs install
|
||||
|
|
Loading…
Reference in a new issue