Skip to content

Commit

Permalink
chore: use multistage
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroh committed May 24, 2024
1 parent 3a7c6e2 commit 82612b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ WORKDIR /usr/src/generic-merge
COPY . .
RUN cargo build --locked --release

CMD ["./target/release/generic-merge"]
FROM alpine:3.14

COPY --from=build /usr/src/generic-merge/target /usr/local/bin

0 comments on commit 82612b4

Please sign in to comment.