Daniel García
6 years ago
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A
1 changed files with
2 additions and
1 deletions
-
Dockerfile
|
|
@ -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 |
|
|
|