summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorDaniel García <[email protected]>2018-12-31 14:07:12 +0100
committerDaniel García <[email protected]>2018-12-31 14:07:12 +0100
commitb8326a15a354685d1c52db7dbc1e8a017ee3af26 (patch)
treea08f25c582d08503b353fe01db8838edad781cc2 /Dockerfile
parenta6631c2ea8f193279b9a6c70d8b6160c43138be6 (diff)
downloadvaultwarden-b8326a15a354685d1c52db7dbc1e8a017ee3af26.tar.gz
vaultwarden-b8326a15a354685d1c52db7dbc1e8a017ee3af26.zip
Add build.rs to dockerfile
Diffstat (limited to 'Dockerfile')
-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