Skip to content

Commit

Permalink
chore: Tweak deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroh committed May 24, 2024
1 parent b1544c5 commit b8305dc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ FROM rust:1.78.0-slim-bullseye AS build

WORKDIR /usr/src/generic-merge

COPY . .
RUN cargo build --locked --release
COPY . .
RUN cargo build --release

FROM alpine:3.14
COPY --from=build /usr/src/generic-merge/target/release/* /usr/local/bin
ENTRYPOINT [ "/usr/local/bin/generic-merge" ]
FROM gcr.io/distroless/cc-debian12
COPY --from=build /usr/src/generic-merge/target/release/generic-merge /
CMD [ "./generic-merge" ]

0 comments on commit b8305dc

Please sign in to comment.