Also install with --locked.
This commit is contained in:
parent
0d1c401cd4
commit
bcf55aea1e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue