~nickbp/kapiti

41895a73626b9e101ebd940b9de825c18ceb27f1 — Nick Parker 2 months ago a8d5348
Only build binary in docker build
1 files changed, 1 insertions(+), 1 deletions(-)

M Dockerfile
M Dockerfile => Dockerfile +1 -1
@@ 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