Skip to content

Commit

Permalink
Merge pull request #2 from ComposableFi/dockerfile
Browse files Browse the repository at this point in the history
added a dockerfile
  • Loading branch information
rjonczy authored Apr 26, 2024
2 parents ac73242 + 44dc3c7 commit ae5b464
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM rust:bookworm as builder

WORKDIR /tendermintx
COPY . /tendermintx

RUN cargo build --release --bin tendermintx


FROM debian:bookworm-slim

RUN apt-get update && apt-get upgrade && apt-get install -y \
libssl3 \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*

COPY --from=builder /tendermintx/target/release/tendermintx /usr/local/bin/tendermintx

ENTRYPOINT ["/usr/local/bin/tendermintx"]

0 comments on commit ae5b464

Please sign in to comment.