[#15] morph: Refactor the initialization

Signed-off-by: Artem Tataurov <a.tataurov@yadro.com>
This commit is contained in:
Artem Tataurov 2023-07-17 17:32:58 +03:00
parent f9e8d6f515
commit 85d1c6216b
2 changed files with 2 additions and 4 deletions

View file

@ -25,8 +25,6 @@ RUN apk add --no-cache \
WORKDIR / 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=neo-go /usr/bin/neo-go /usr/bin/neo-go
COPY --from=frostfs-adm /bin/frostfs-adm /usr/bin/frostfs-adm COPY --from=frostfs-adm /bin/frostfs-adm /usr/bin/frostfs-adm
COPY --from=frostfs-cli /bin/frostfs-cli /usr/bin/frostfs-cli 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/locode_db /config/locode.db
COPY ./vendor/contracts/ /config/contracts COPY ./vendor/contracts/ /config/contracts
COPY ./bin/ /config/bin COPY ./bin/init-aio.sh /config/bin/init-aio.sh
ENV AUTHMATE_WALLET_PASSPHRASE="" ENV AUTHMATE_WALLET_PASSPHRASE=""

View file

@ -14,7 +14,7 @@ die() {
runBlockchain() { runBlockchain() {
stage "Starting the blockchain" 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" ]]; while [[ "$(curl -s -o /dev/null -w %{http_code} localhost:30333)" != "422" ]];
do do