From 85d1c6216b734f73fdd2ef807b0ff63f327995ca Mon Sep 17 00:00:00 2001 From: Artem Tataurov Date: Mon, 17 Jul 2023 17:32:58 +0300 Subject: [PATCH] [#15] morph: Refactor the initialization Signed-off-by: Artem Tataurov --- Dockerfile | 4 +--- bin/init-aio.sh | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 18cf55e..f260699 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,8 +25,6 @@ RUN apk add --no-cache \ WORKDIR / -COPY --from=neo-go /usr/bin/privnet-entrypoint.sh /usr/bin/privnet-entrypoint.sh -COPY --from=neo-go /etc/ssl/certs /etc/ssl/certs COPY --from=neo-go /usr/bin/neo-go /usr/bin/neo-go COPY --from=frostfs-adm /bin/frostfs-adm /usr/bin/frostfs-adm COPY --from=frostfs-cli /bin/frostfs-cli /usr/bin/frostfs-cli @@ -55,7 +53,7 @@ COPY ./sn/config.yaml /config/config-sn.yaml COPY ./vendor/locode_db /config/locode.db COPY ./vendor/contracts/ /config/contracts -COPY ./bin/ /config/bin +COPY ./bin/init-aio.sh /config/bin/init-aio.sh ENV AUTHMATE_WALLET_PASSPHRASE="" diff --git a/bin/init-aio.sh b/bin/init-aio.sh index ec81ea7..095f26f 100755 --- a/bin/init-aio.sh +++ b/bin/init-aio.sh @@ -14,7 +14,7 @@ die() { runBlockchain() { stage "Starting the blockchain" - /usr/bin/privnet-entrypoint.sh node --config-path /config --privnet & + /usr/bin/neo-go node --config-path /config --privnet & while [[ "$(curl -s -o /dev/null -w %{http_code} localhost:30333)" != "422" ]]; do