0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-05-18 12:53:46 +02:00

Make sure the dockerfile builds the project, instead of assuming the cached dummy is valid

This commit is contained in:
Daniel García 2018-12-04 13:55:37 +01:00
parent 2129946d14
commit e34f75c267
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A

View file

@ -53,6 +53,9 @@ RUN find . -not -path "./target*" -delete
# To avoid copying unneeded files, use .dockerignore
COPY . .
# Make sure that we actually build the project
RUN touch src/main.rs
# Builds again, this time it'll just be
# your actual source files being built
RUN cargo build --release