bsc/docker/Dockerfile.truffle
2023-06-30 17:26:38 +08:00

14 lines
423 B
Docker

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