ADD file:90b9dd8f12120e8b2cd3ece45fcbe8af67e40565e2032a40f64bd921c43e2ce7 in / |
CMD ["bash"] |
LABEL maintainer="Foster Hangdaan <foster@hangdaan.email>" |
/bin/sh -c set -ex && DEBIAN_FRONTEND=noninteractive apt-get update -qqy && DEBIAN_FRONTEND=noninteractive apt-get install -qqy librocksdb-dev curl |
COPY file:3e7cc3e4770ad164648559cc9bbfd1b4ae100af66db42813ca04bb581b975004 in /usr/bin/electrs |
/bin/sh -c adduser --system --group --disabled-password --home /electrs electrs |
/bin/sh -c mkdir -p /etc/electrs |
USER electrs |
/bin/sh -c mkdir -p /electrs/db /electrs/.bitcoin /electrs/.electrs |
VOLUME /electrs/db |
VOLUME /electrs/.bitcoin |
VOLUME /etc/electrs /electrs/.electrs |
EXPOSE 50001 |
EXPOSE 4224 |
ENTRYPOINT ["electrs"] |