Skip to content

Instantly share code, notes, and snippets.

@djuanit0x
Created July 22, 2019 07:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save djuanit0x/b7ff5d305d1e3c57f62f497b09634741 to your computer and use it in GitHub Desktop.
provable-bitcoin-price
FROM node:9-alpine
RUN rm -rf /var/cache/apk/* && \
mkdir /app
WORKDIR /app
RUN apk update && \
apk upgrade && \
apk --update add python py-pip git make g++ && \
apk add --no-cache bash && \
npm install --unsafe-perm -g truffle@5.0.0-beta.2 && \
npm install -g mocha@5.2.0 && \
npm install -g mocha-junit-reporter@1.18.0
COPY . /app/
CMD truffle test ./test/BitcoinPrice.test.js --network development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment