Skip to content

Commit 31fdd20

Browse files
committedMar 6, 2025
removing cargo clean, bc it can negate Docker layer Caching

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎Dockerfile

-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ COPY ./web/Cargo.toml ./web/Cargo.toml
3030
# Copy the complete source code into the container's working directory
3131
COPY . .
3232

33-
# clean the Cargo.lock file to avoid rebuilding the dependencies
34-
RUN cargo clean
35-
3633
# Build workspace and dependencies to leverage Docker cache
3734
RUN cargo build --release --workspace --target aarch64-unknown-linux-gnu
3835

0 commit comments

Comments
 (0)
Please sign in to comment.