made some changes

This commit is contained in:
Daniel Knüttel 2019-09-06 10:51:19 +02:00
parent 8e8a2cdfd4
commit 89caa3dac8

View File

@ -1,11 +1,13 @@
FROM ethereum/client-go:stable
RUN apk add curl
RUN mkdir -p /var/jami/jamichain
VOLUME /var/jami/jamichain
WORKDIR /install
RUN curl https://raw.githubusercontent.com/savoirfairelinux/ring-nameservice/master/instructions/genesis.json -o genesis.json
RUN geth --datadir /home/username/jamichain init genesis.json
RUN geth --datadir /var/jami/jamichain init genesis.json
ENTRYPOINT ["geth" , "--datadir=/home/username/jamichain" , "--syncmode=full" , "--networkid", "1551" , "--bootnodes", "enode://11ba6d3bfdc29a8afb24dcfcf9a08c8008005ead62756eadb363523c2ca8b819efbb264053db3d73949f1375bb3f03090f44cacfb88bade38bb6fc2cb3d890a5@173.231.120.228:30301" , "console"]
ENTRYPOINT ["geth" , "--datadir=/var/jami/jamichain" , "--syncmode=full" , "--networkid", "1551" , "--bootnodes", "enode://11ba6d3bfdc29a8afb24dcfcf9a08c8008005ead62756eadb363523c2ca8b819efbb264053db3d73949f1375bb3f03090f44cacfb88bade38bb6fc2cb3d890a5@173.231.120.228:30301" , "console"]