2
0
mirror of https://github.com/lnbook/lnbook synced 2024-11-18 21:28:03 +00:00
lnbook/code/docker/bitcoind-regtest/Dockerfile
Andreas M. Antonopoulos 7c5d5699bf Docker and docker-compose
Build network, create keys/addresses, fund wallets.
2020-06-10 22:46:55 -04:00

18 lines
325 B
Docker

FROM lnbook/bitcoind-base:latest
ADD bitcoind /bitcoind
RUN ln -s /bitcoind /root/.bitcoin
# bitcoind P2P
EXPOSE 18444/tcp
# bitcoind regtest RPC
EXPOSE 18443/tcp
# zmqpubrawblock
EXPOSE 12005/tcp
# zmqpubrawtx
EXPOSE 12006/tcp
WORKDIR /bitcoind
CMD /bin/bash /bitcoind/bitcoind-start.sh \
&& /bin/bash /bitcoind/mine.sh