Skip to content

Commit

Permalink
docker only build forwarder-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Arian8j2 committed Sep 18, 2024
1 parent 362a9a9 commit 8f7c595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f7c595

Please sign in to comment.