-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge the develop branch to the master branch, preparation to v2.3.0-rc1
- Loading branch information
Showing
90 changed files
with
3,124 additions
and
574 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,31 @@ | ||
FROM node:10 | ||
FROM node:8 as contracts | ||
|
||
WORKDIR /mono | ||
|
||
COPY contracts/package.json contracts/package-lock.json ./contracts/ | ||
|
||
WORKDIR /mono/contracts | ||
RUN npm install --only=prod | ||
|
||
COPY ./contracts/truffle-config.js ./ | ||
COPY ./contracts/contracts ./contracts | ||
RUN npm run compile | ||
|
||
FROM node:8 | ||
|
||
WORKDIR /mono | ||
COPY package.json . | ||
COPY --from=contracts /mono/contracts/build ./contracts/build | ||
COPY oracle-e2e/package.json ./oracle-e2e/ | ||
COPY monitor-e2e/package.json ./monitor-e2e/ | ||
COPY contracts/package.json ./contracts/ | ||
|
||
COPY yarn.lock . | ||
RUN yarn install --frozen-lockfile | ||
COPY ./contracts ./contracts | ||
RUN NOYARNPOSTINSTALL=1 yarn install --frozen-lockfile --production | ||
|
||
COPY ./contracts/deploy ./contracts/deploy | ||
RUN yarn install:deploy | ||
RUN yarn compile:contracts | ||
|
||
COPY . . | ||
COPY commons/ ./commons/ | ||
COPY oracle-e2e/ ./oracle-e2e/ | ||
COPY monitor-e2e/ ./monitor-e2e/ | ||
COPY e2e-commons/ ./e2e-commons/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.