1
0
Fork 0

Add build.rs to dockerfile

Dieser Commit ist enthalten in:
Daniel García 2018-12-31 14:07:12 +01:00
Ursprung a6631c2ea8
Commit b8326a15a3
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: FC8A7D14C3CD543A

Datei anzeigen

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