From aa5bc6ffe6bfc34c0e03f1711036af041f2c3172 Mon Sep 17 00:00:00 2001 From: Quentin Correia Date: Mon, 30 Dec 2024 21:39:39 +0100 Subject: [PATCH] build: run binary on docker scratch --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2c099a8..583ef9a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ COPY . . RUN cargo build -r # (5) runtime image, you can use any base image you want -FROM alpine:latest AS runtime +FROM scratch AS runtime WORKDIR /app COPY --from=builder /app/target/release/fiars /app/fiars CMD ["/app/fiars"] \ No newline at end of file