Install with --offline.

This commit is contained in:
Bauke 2022-10-10 13:46:23 +02:00
parent b407273f6f
commit 65ce9f66ca
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*
# Build the executable with actual source code.
RUN cargo install --path .
RUN cargo install --offline --path .
# Copy the executable to a smaller final image.
FROM debian:bullseye-slim