aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-12-21 23:25:42 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-12-21 23:25:42 +0800
commite4aa882ec55b70c060458c4eda943c37e08a8cc5 (patch)
treecb32fd417f959958f9dc0d3f21ceddd1ef282cbc
parent38b1e8ee207da636d95bea760f577eca462307a6 (diff)
downloaddexon-e4aa882ec55b70c060458c4eda943c37e08a8cc5.tar.gz
dexon-e4aa882ec55b70c060458c4eda943c37e08a8cc5.tar.zst
dexon-e4aa882ec55b70c060458c4eda943c37e08a8cc5.zip
cmd/puppeth: fix faucet 502 error due to non-exposed HTTP port
-rw-r--r--cmd/puppeth/module_faucet.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/puppeth/module_faucet.go b/cmd/puppeth/module_faucet.go
index 57b7a2dc0..92b4cb286 100644
--- a/cmd/puppeth/module_faucet.go
+++ b/cmd/puppeth/module_faucet.go
@@ -39,6 +39,8 @@ ADD genesis.json /genesis.json
ADD account.json /account.json
ADD account.pass /account.pass
+EXPOSE 8080 30303 30303/udp
+
ENTRYPOINT [ \
"faucet", "--genesis", "/genesis.json", "--network", "{{.NetworkID}}", "--bootnodes", "{{.Bootnodes}}", "--ethstats", "{{.Ethstats}}", "--ethport", "{{.EthPort}}", \
"--faucet.name", "{{.FaucetName}}", "--faucet.amount", "{{.FaucetAmount}}", "--faucet.minutes", "{{.FaucetMinutes}}", "--faucet.tiers", "{{.FaucetTiers}}", \