Skip to content

Commit

Permalink
added a dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rjonczy committed Apr 26, 2024
1 parent ac73242 commit 44dc3c7
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 44dc3c7

Please sign in to comment.