From 8f7c59563aa29ab680a5c12a6fd94267c97af1bd Mon Sep 17 00:00:00 2001 From: Arian Rezazadeh Date: Wed, 18 Sep 2024 12:23:41 +0330 Subject: [PATCH] docker only build forwarder-cli --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c6da1b6..617bfca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ RUN apk add --no-cache musl-dev git WORKDIR /app COPY . . -RUN cargo build --release --target x86_64-unknown-linux-musl +RUN cargo build --release --package forwarder-cli --target x86_64-unknown-linux-musl FROM alpine:3.20 as runtime COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/forwarder-cli forwarder