diff --git a/Dockerfile b/Dockerfile index 35ed1ec..b8b7da9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,15 +20,14 @@ RUN cd /usr/local/src/bitcoin && \ git checkout $BITCOIND_REV && \ ./autogen.sh && \ ./configure --disable-wallet --enable-hardening && \ - make -j10 && \ + make -j2 && \ make install && \ cd / && \ rm -rf /usr/local/src/bitcoin RUN apt-get remove -y \ - build-essential libtool autotools-dev automake pkg-config libssl-dev \ - libevent-dev bsdmainutils libzmq3-dev \ - libminiupnpc-dev git && \ + build-essential libtool autotools-dev automake \ + pkg-config bsdmainutils git && \ apt-get autoremove -y && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ENV HOME /var/lib/bitcoin diff --git a/bitcoin.run b/bitcoin.run index b06439c..53f81be 100644 --- a/bitcoin.run +++ b/bitcoin.run @@ -16,8 +16,8 @@ exec chpst -ubitcoin \ bitcoind \ -printtoconsole \ -disablewallet \ - -datadir $HOME \ - -conf $HOME/bitcoin.conf \ + -datadir=/var/lib/bitcoin \ + -conf=/var/lib/bitcoin/bitcoin.conf \ -rpcallowip=::/0 \ $BITCOIND_EXTRA_OPTS \ 2>&1