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

Add build.rs to dockerfile

This commit is contained in:
Daniel García 2018-12-31 14:07:12 +01:00
parent a6631c2ea8
commit b8326a15a3
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A

View file

@ -33,9 +33,10 @@ FROM rust as build
RUN USER=root cargo new --bin app
WORKDIR /app
# Copies over *only* your manifests and vendored dependencies
# Copies over *only* your manifests and build files
COPY ./Cargo.* ./
COPY ./rust-toolchain ./rust-toolchain
COPY ./build.rs ./build.rs
# Builds your dependencies and removes the
# dummy project, except the target folder