Don't copy Cargo.lock

This commit is contained in:
Daniel Mowitz 2023-08-24 18:04:55 +02:00
parent 042c2c24a4
commit ac5f224c2d

View file

@ -3,7 +3,6 @@ FROM rust:1.69-alpine
RUN mkdir webmention-filer RUN mkdir webmention-filer
COPY src webmention-filer/src COPY src webmention-filer/src
COPY Cargo.toml webmention-filer/Cargo.toml COPY Cargo.toml webmention-filer/Cargo.toml
COPY Cargo.lock webmention-filer/Cargo.lock
WORKDIR webmention-filer WORKDIR webmention-filer
RUN cargo build --release RUN cargo build --release