Created
July 22, 2019 07:39
-
-
Save djuanit0x/c47cc363834f8be1b1d749a00214087f to your computer and use it in GitHub Desktop.
provable-bitcoin-price
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
FROM node:carbon-alpine | |
RUN apk --virtual dependencies add --update git python make g++ gcc && \ | |
rm -rf /tmp/* /var/cache/apk/* | |
WORKDIR /usr/app | |
RUN git clone https://github.com/provable-things/ethereum-bridge . | |
RUN yarn install --frozen-lockfile --prod --non-interactive | |
RUN apk del dependencies && yarn cache clean | |
RUN apk update && apk add bash | |
COPY ./wait-for-it.sh /usr/app/wait-for-it.sh | |
RUN chmod +x /usr/app/wait-for-it.sh | |
ENTRYPOINT ["/bin/sh","-c","/usr/app/wait-for-it.sh ganache:8545 -t 30 -- node bridge -H ganache:8545 -a 9 --dev"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment