3f27b98b8b
* Introduced monitor deployment playbook * Timeouts * dai deployment block * wetc deployment blocks * Corrected path * Typo. * Added monitor to execution readme. * Monitor port. * Check on start * Timeouts * check-and-start
18 lines
461 B
Docker
18 lines
461 B
Docker
FROM node:8
|
|
|
|
WORKDIR /mono
|
|
COPY package.json .
|
|
COPY contracts/package.json ./contracts/
|
|
COPY monitor/package.json ./monitor/
|
|
COPY yarn.lock .
|
|
RUN yarn install --frozen-lockfile --production
|
|
|
|
COPY ./contracts ./contracts
|
|
RUN yarn run compile:contracts
|
|
RUN mv ./contracts/build ./ && rm -rf ./contracts/* ./contracts/.[!.]* && mv ./build ./contracts/
|
|
|
|
COPY ./monitor ./monitor
|
|
WORKDIR /mono/monitor
|
|
CMD echo "To start the monitor run:" \
|
|
"yarn check-and-start"
|