Skip to content

Commit

Permalink
docker: respect Cargo.lock during build (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
paolobarbolini authored Nov 26, 2023
1 parent 1e23f5e commit cb9903a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM rust:bookworm as build

COPY . /src
RUN cargo install --path /src
RUN cargo install --path /src --locked

FROM debian:bookworm

Expand Down

0 comments on commit cb9903a

Please sign in to comment.