You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
329 B
21 lines
329 B
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
|
|
|
|
CMD ["electrs", "-vvvv", "--timestamp"]
|
|
|