aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 3bb96ecd..51ce8585 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