tokenbridge/Dockerfile.e2e

21 lines
813 B
Docker
Raw Normal View History

2019-05-20 16:48:43 +03:00
FROM node:10
WORKDIR /mono
COPY package.json .
COPY oracle/package.json ./oracle/
COPY oracle-e2e/package.json ./oracle-e2e/
COPY ui/package.json ./ui/
COPY ui-e2e/package.json ./ui-e2e/
COPY monitor/package.json ./monitor/
COPY contracts/package.json ./contracts/
COPY ui/lib/web3-eth/index.js ./ui/lib/web3-eth/index.js
COPY yarn.lock .
2019-05-21 10:26:16 +03:00
2019-05-20 16:48:43 +03:00
RUN yarn install
COPY . .
2019-05-21 10:26:16 +03:00
2019-05-21 10:49:42 +03:00
RUN yarn workspace poa-parity-bridge-contracts run compile
2019-05-22 12:26:46 +03:00
RUN cd contracts-2.2.0 && rm -f package-lock.json && npm install --silent && npm install --silent truffle@4.1.11 && npm run compile && cd deploy && rm -f package-lock.json && npm install --silent && npm install --silent web3@1.0.0-beta.33
2019-05-21 13:12:11 +03:00
RUN yarn workspace ui run compile:contracts && yarn workspace ui run postinstall
2019-05-21 10:26:16 +03:00
RUN cd contracts/deploy && rm -f package-lock.json && npm install