2024-10-17 18:25:49 +00:00
|
|
|
FROM polarlightning/lnd:0.18.0-beta
|
2024-03-13 14:04:09 +00:00
|
|
|
|
|
|
|
ARG LN_NODE_FOR
|
|
|
|
ENV LN_NODE_FOR=$LN_NODE_FOR
|
|
|
|
|
|
|
|
RUN apt-get update -y \
|
|
|
|
&& apt-get install -y jq \
|
|
|
|
&& apt-get clean \
|
|
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
|
|
|
|
|
|
COPY ["./$LN_NODE_FOR/regtest/*", "/home/lnd/.lnd/data/chain/bitcoin/regtest/"]
|
2024-11-07 15:03:54 +00:00
|
|
|
COPY ["./$LN_NODE_FOR/tls.*", "/home/lnd/.lnd/"]
|
|
|
|
|
|
|
|
ADD tor-entrypoint.sh /tor-entrypoint
|
|
|
|
RUN chmod +x /tor-entrypoint
|