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:fda97a08510e61627f52228fbd80c0c841f28c219b41febb79004ecda15efa8e 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"] |