diff --git a/README.md b/README.md index 2cd31cb..0f8ec3a 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ Images are compiled and verified from the application github repository. | [Storm Store Daemon](https://github.com/STORM-WG/storm-stored) | Docker Image Version (tag latest semver) | Docker Image Version (latest semver) | | [nostr-rs-relay](https://github.com/scsibug/nostr-rs-relay) | Docker Image Version (tag latest semver) | None | | [nostream](https://github.com/Cameri/nostream) | Docker Image Version (tag latest semver) | None | +| [electrs](https://github.com/romanz/electrs) | Docker Image Version (tag latest semver) | None | ### CLI Tools diff --git a/docker/electrs/Dockerfile b/docker/electrs/Dockerfile index 2171853..340acde 100644 --- a/docker/electrs/Dockerfile +++ b/docker/electrs/Dockerfile @@ -13,11 +13,11 @@ RUN apt update -qqy && \ RUN git clone https://github.com/romanz/electrs.git && \ cd electrs && \ git checkout $VERSION && \ - cargo build --release + cargo install --locked --path . FROM lnmarkets/debian:bookworm -COPY --from=build /app/electrs/target/release/electrs /usr/bin/electrs +COPY --from=build /usr/local/cargo/bin/electrs /usr/bin/electrs RUN apt update -qqy && \ apt install -qqy librocksdb-dev @@ -25,5 +25,3 @@ RUN apt update -qqy && \ EXPOSE 50001 4224 ENTRYPOINT [ "/docker/entrypoint.sh", "electrs"] - -CMD ["--help"]