mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 13:21:01 +00:00
@@ -21,7 +21,7 @@ RUN apt-get update && apt-get install curl netcat -y && \
|
||||
curl -sSo /wait-for-it.sh https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh && \
|
||||
chmod +x /wait-for-it.sh
|
||||
# the only thing left to do is to actually run the transaction.
|
||||
COPY ./scripts/register_para.sh /usr/bin
|
||||
COPY ./docker/scripts/register_para.sh /usr/bin
|
||||
# unset the previous stage's entrypoint
|
||||
ENTRYPOINT []
|
||||
CMD [ "/usr/bin/register_para.sh" ]
|
||||
|
||||
@@ -4,7 +4,7 @@ set -e
|
||||
|
||||
cd "$(cd "$(dirname "$0")" && git rev-parse --show-toplevel)"
|
||||
# shellcheck source=dc.sh
|
||||
source scripts/dc.sh
|
||||
source docker/scripts/dc.sh
|
||||
|
||||
dc build
|
||||
dc up -d
|
||||
@@ -4,6 +4,6 @@ set -e
|
||||
|
||||
cd "$(cd "$(dirname "$0")" && git rev-parse --show-toplevel)"
|
||||
# shellcheck source=dc.sh
|
||||
source scripts/dc.sh
|
||||
source docker/scripts/dc.sh
|
||||
|
||||
dc down --volumes --remove-orphans
|
||||
@@ -39,9 +39,9 @@ RUN apt-get update && apt-get install jq curl bash -y && \
|
||||
yarn global add @polkadot/api-cli@0.10.0-beta.14
|
||||
COPY --from=builder \
|
||||
/paritytech/cumulus/target/release/cumulus-test-parachain-collator /usr/bin
|
||||
COPY ./scripts/inject_bootnodes.sh /usr/bin
|
||||
COPY ./docker/scripts/inject_bootnodes.sh /usr/bin
|
||||
CMD ["/usr/bin/inject_bootnodes.sh"]
|
||||
COPY ./scripts/healthcheck.sh /usr/bin/
|
||||
COPY ./docker/scripts/healthcheck.sh /usr/bin/
|
||||
HEALTHCHECK --interval=300s --timeout=75s --start-period=30s --retries=3 \
|
||||
CMD ["/usr/bin/healthcheck.sh"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user