From fc13d41c172bd385c3f3ef1bc3acc0309b960650 Mon Sep 17 00:00:00 2001 From: sigoden Date: Sun, 5 Jun 2022 09:30:26 +0800 Subject: [PATCH] chore(docker): use scratch as docker base image --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 108586f..b9d4764 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,6 @@ WORKDIR /app COPY . . RUN cargo build --target x86_64-unknown-linux-musl --release -FROM alpine +FROM scratch COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/duf /bin/ ENTRYPOINT ["/bin/duf"] \ No newline at end of file