Also install with --locked.

This commit is contained in:
Bauke 2023-06-08 13:41:40 +02:00
parent 0d1c401cd4
commit bcf55aea1e
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ COPY node_modules/modern-normalize node_modules/modern-normalize
RUN rm target/release/deps/tildes_statistics* RUN rm target/release/deps/tildes_statistics*
# Build the executable with actual source code. # Build the executable with actual source code.
RUN cargo install --offline --path . RUN cargo install --locked --offline --path .
# Copy the executable to a smaller final image. # Copy the executable to a smaller final image.
FROM debian:bullseye-slim FROM debian:bullseye-slim