From 41895a73626b9e101ebd940b9de825c18ceb27f1 Mon Sep 17 00:00:00 2001 From: Nick Parker Date: Wed, 21 Jul 2021 22:07:53 +1200 Subject: [PATCH] Only build binary in docker build --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a37956b..14baae3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Builds an image containing the kapiti binary and little else. FROM rust:slim COPY . /kapiti -RUN cd /kapiti && cargo build --all-targets --release +RUN cd /kapiti && cargo build --release FROM debian:buster-slim COPY --from=0 /kapiti/target/release/kapiti /kapiti -- 2.45.2