Skip to content

Commit acbb5cc

Browse files
committed
build: Copy .cargo.
1 parent f44ce32 commit acbb5cc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ RUN apt install --no-install-recommends -y libssl-dev pkg-config musl-tools wget
6464

6565
RUN cargo install cargo-chef --version ^0.1
6666
WORKDIR /app
67+
COPY .cargo .cargo
6768
COPY rust-toolchain.toml .
6869
RUN rustup update && rustup toolchain install && rustup target add x86_64-unknown-linux-musl
6970

@@ -113,6 +114,7 @@ RUN apt install --no-install-recommends -y libssl-dev pkg-config musl-tools wget
113114

114115
# RUN cargo install cargo-chef --version ^0.1
115116
WORKDIR /app
117+
COPY .cargo .cargo
116118
COPY rust-toolchain.toml .
117119
RUN rustup update && rustup toolchain install && rustup target add aarch64-unknown-linux-musl
118120

0 commit comments

Comments
 (0)