19 lines
779 B
Docker
19 lines
779 B
Docker
# Defined in tilt_devnet/docker_images/Dockerfile.lerna
|
|
FROM lerna
|
|
|
|
USER root
|
|
RUN apt-get update && apt-get install -y ncat
|
|
|
|
# Run as node, otherwise, npx explodes.
|
|
USER 1000
|
|
WORKDIR /home/node
|
|
COPY --chown=1000:1000 governance/multisig_wh_message_builder governance/multisig_wh_message_builder
|
|
COPY --chown=1000:1000 governance/xc_governance_sdk_js governance/xc_governance_sdk_js
|
|
COPY --chown=1000:1000 target_chains/ethereum/sdk/solidity target_chains/ethereum/sdk/solidity
|
|
COPY --chown=1000:1000 target_chains/ethereum/contracts target_chains/ethereum/contracts
|
|
|
|
RUN npx lerna run build --scope="@pythnetwork/pyth-evm-contract" --include-dependencies
|
|
|
|
WORKDIR /home/node/target_chains/ethereum/contracts
|
|
COPY --chown=1000:1000 target_chains/ethereum/contracts/.env.test .env
|