16 lines
410 B
Docker
16 lines
410 B
Docker
|
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 .
|
||
|
RUN yarn install
|
||
|
COPY . .
|
||
|
RUN yarn workspace ui run compile:contracts
|