diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index 75944e6..83a3fee 100644 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -1,3 +1,5 @@ /app/simd start & -sleep 30 +until curl --output /dev/null --silent --head --fail http://localhost:26657/health; do + sleep 1 +done ./rosetta --blockchain "cosmos" --network "cosmos" --tendermint "tcp://localhost:26657" --addr "localhost:8080" --grpc "localhost:9090" \ No newline at end of file