Dockerfile.truffle 431 B

12345678910111213
  1. FROM ethereum/solc:0.6.4-alpine
  2. RUN apk add --d --no-cache ca-certificates npm nodejs bash alpine-sdk git
  3. RUN git clone https://github.com/binance-chain/canonical-upgradeable-bep20.git /usr/app/canonical-upgradeable-bep20
  4. WORKDIR /usr/app/canonical-upgradeable-bep20
  5. COPY docker/truffle-config.js /usr/app/canonical-upgradeable-bep20
  6. RUN npm install -g --unsafe-perm truffle@v5.1.14
  7. RUN npm install
  8. ENTRYPOINT [ "/bin/bash" ]