[test] Expose ports for go.sh

Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu>
pull/3404/head
Daniel Van Der Maden 4 years ago
parent 28a72f4aee
commit 839f70206c
No known key found for this signature in database
GPG Key ID: AEA215877D53EE19
  1. 4
      test/go.sh

@ -1,4 +1,6 @@
#!/usr/bin/env bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
docker pull harmonyone/localnet-test
docker run -it -v "$DIR/../:/go/src/github.com/harmony-one/harmony" harmonyone/localnet-test -g
docker run -it \
-p 9500:9500 -p 9501:9501 -p 9599:9599 -p 9598:9598 -p 9799:9799 -p 9798:9798 -p 9899:9899 -p 9898:9898 \
-v "$DIR/../:/go/src/github.com/harmony-one/harmony" harmonyone/localnet-test -g

Loading…
Cancel
Save