From fca898933723394730b57a742deaf8395ec51502 Mon Sep 17 00:00:00 2001 From: _den <_den@outlook.com> Date: Tue, 25 Oct 2022 19:11:09 +1000 Subject: [PATCH] fixed bsc entrypoint --- bsc/docker-entrypoint.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bsc/docker-entrypoint.sh b/bsc/docker-entrypoint.sh index 06f036e..092bef8 100755 --- a/bsc/docker-entrypoint.sh +++ b/bsc/docker-entrypoint.sh @@ -1,11 +1,11 @@ #!/bin/sh set -x -if [ ! -f /bsc/config/setupdone ]; then +if [ ! -f /bsc/.ethereum/config/setupdone ]; then wget -O /bsc/mainnet.zip "https://github.com/bnb-chain/bsc/releases/download/${BSC_TAG}/mainnet.zip" - unzip -o -j /bsc/mainnet.zip "mainnet/genesis.json" -d /bsc/config/ - bsc --datadir /bsc/.ethereum init /bsc/config/genesis.json - touch /bsc/config/setupdone + unzip -o -j /bsc/mainnet.zip "genesis.json" -d /bsc/.ethereum/config/ + bsc --datadir /bsc/.ethereum init /bsc/.ethereum/config/genesis.json + touch /bsc/.ethereum/config/setupdone fi exec "$@" \ No newline at end of file