Skip to content

Instantly share code, notes, and snippets.

@djuanit0x
Created July 22, 2019 07:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djuanit0x/c47cc363834f8be1b1d749a00214087f to your computer and use it in GitHub Desktop.
Save djuanit0x/c47cc363834f8be1b1d749a00214087f to your computer and use it in GitHub Desktop.
provable-bitcoin-price
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