From 781cc9c8fcab85304f92ea2ca7043754778918e7 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Tue, 23 Apr 2019 18:21:42 +0200 Subject: [PATCH] Copy git directory and templates in build container --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 30648e2..31f2810 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,9 @@ RUN cargo build --release RUN rm -r ./target/x86_64-unknown-linux-musl/release/.fingerprint/hoc-* # copy source code +COPY ./.git ./.git COPY ./static ./static +COPY ./templates ./templates COPY ./src ./src # build source code RUN cargo build --release