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/
|
2019-05-27 10:22:08 +03:00
|
|
|
COPY ui/lib/web3-eth/index.js ./ui/lib/web3-eth/index.js
|
2019-05-20 16:48:43 +03:00
|
|
|
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
|
2019-05-21 10:26:16 +03:00
|
|
|
|
2019-05-23 15:24:46 +03:00
|
|
|
COPY yarn.lock .
|
2019-05-20 16:48:43 +03:00
|
|
|
RUN yarn install
|
2019-05-27 10:22:08 +03:00
|
|
|
COPY ./contracts ./contracts
|
|
|
|
RUN yarn install:deploy
|
|
|
|
RUN yarn compile:contracts
|
2019-05-23 15:24:46 +03:00
|
|
|
|
|
|
|
COPY . .
|