forked from smartcontractkit/chainlink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
37 lines (37 loc) · 978 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM ethereum/client-go:v1.10.8
# docker build . -t smartcontract/gethnet:london
WORKDIR /gethnet
COPY node_password .
COPY genesis.json .
# Initializes genesis file with london forks enabled
RUN geth --datadir /gethnet/datadir init genesis.json
# Copy a prefunded devnet key into the keystore
COPY keys/* /gethnet/datadir/keystore/
EXPOSE 8545 8546 8547 30303 30303/udp
ENTRYPOINT [ "geth" ]
CMD [ \
"--networkid=34055", \
"--mine", \
"--miner.threads=1", \
"--miner.noverify", \
"--miner.recommit=1s", \
"--datadir=/gethnet/datadir", \
"--fakepow", \
"--nodiscover", \
"--http", \
"--http.addr=0.0.0.0", \
"--http.port=8545", \
"--port=30303", \
"--http.corsdomain", "*", \
"--http.api", "eth,web3,personal,net", \
"--password=node_password", \
"--ipcdisable", \
"--unlock", "0", \
"--allow-insecure-unlock", \
"--ws", \
"--ws.addr=0.0.0.0", \
"--ws.port=8546", \
"--ws.api","eth,web3,net,admin,debug,txpool", \
"--txpool.accountslots=1024", \
"--txpool.accountqueue=1024" \
]