1
0
Fork 0
mirror of https://github.com/romanz/electrs.git synced 2025-02-23 06:45:26 +01:00
electrs/Dockerfile

22 lines
329 B
Text
Raw Normal View History

2018-08-19 19:26:57 +03:00
FROM rust:latest
RUN apt-get update
RUN apt-get install -y clang cmake
RUN cargo install electrs
RUN adduser --disabled-login --system --shell /bin/false --uid 1000 user
USER user
WORKDIR /home/user
# Electrum RPC
EXPOSE 50001
# Prometheus monitoring
EXPOSE 4224
STOPSIGNAL SIGINT
2018-08-19 19:26:57 +03:00
CMD ["electrs", "-vvvv", "--timestamp"]