From cb9903a12b21b879d268155f779aa986bb24f4e3 Mon Sep 17 00:00:00 2001 From: Paolo Barbolini Date: Sun, 26 Nov 2023 22:06:44 +0100 Subject: [PATCH] docker: respect Cargo.lock during build (#209) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7732f3e..3e54d9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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