update Dockerfile bitmonero refs
This commit is contained in:
parent
c45912e1df
commit
50dc4fbd26
1 changed files with 5 additions and 5 deletions
10
Dockerfile
10
Dockerfile
|
@ -5,7 +5,7 @@ MAINTAINER eiabea <developer@eiabea.com>
|
|||
RUN set -e && \
|
||||
apt-get update -q && \
|
||||
apt-get install -q -y --no-install-recommends ca-certificates git && \
|
||||
git clone https://github.com/monero-project/bitmonero.git src && \
|
||||
git clone https://github.com/monero-project/monero.git src && \
|
||||
apt-get purge -y git && \
|
||||
apt-get clean -q -y && \
|
||||
apt-get autoclean -q -y && \
|
||||
|
@ -23,11 +23,11 @@ RUN set -e && \
|
|||
apt-get clean -q -y && \
|
||||
apt-get autoclean -q -y && \
|
||||
apt-get autoremove -q -y && \
|
||||
mkdir /bitmonero && \
|
||||
mv /src/build/release/bin/* /bitmonero && \
|
||||
mkdir /monero && \
|
||||
mv /src/build/release/bin/* /monero && \
|
||||
rm -rf /src
|
||||
|
||||
WORKDIR /bitmonero
|
||||
WORKDIR /monero
|
||||
|
||||
# Contains the blockchain
|
||||
VOLUME /root/.bitmonero
|
||||
|
@ -46,4 +46,4 @@ ENV RPC_BIND_PORT 18081
|
|||
EXPOSE 18080
|
||||
EXPOSE 18081
|
||||
|
||||
CMD ./bitmonerod --log-level=$LOG_LEVEL --p2p-bind-ip=$P2P_BIND_IP --p2p-bind-port=$P2P_BIND_PORT --rpc-bind-ip=$RPC_BIND_IP --rpc-bind-port=$RPC_BIND_PORT
|
||||
CMD ./monerod --log-level=$LOG_LEVEL --p2p-bind-ip=$P2P_BIND_IP --p2p-bind-port=$P2P_BIND_PORT --rpc-bind-ip=$RPC_BIND_IP --rpc-bind-port=$RPC_BIND_PORT
|
Loading…
Reference in a new issue