Install with --offline.
This commit is contained in:
parent
b407273f6f
commit
65ce9f66ca
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue