docker: respect Cargo.lock during build (#209)

This commit is contained in:
Paolo Barbolini 2023-11-26 22:06:44 +01:00 committed by GitHub
parent 1e23f5e5b2
commit cb9903a12b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
FROM rust:bookworm as build FROM rust:bookworm as build
COPY . /src COPY . /src
RUN cargo install --path /src RUN cargo install --path /src --locked
FROM debian:bookworm FROM debian:bookworm