From b8326a15a354685d1c52db7dbc1e8a017ee3af26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa?= Date: Mon, 31 Dec 2018 14:07:12 +0100 Subject: [PATCH] Add build.rs to dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3bb96ec..51ce858 100644 --- a/Dockerfile +++ b/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