Skip to content

Commit

Permalink
update docker
Browse files Browse the repository at this point in the history
  • Loading branch information
andresaiello committed Nov 14, 2023
1 parent 7bee371 commit 07a0b9a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,17 @@ RUN apk add --update python3 yarn git nodejs make g++
## Install node modules before the code is copied to the container
WORKDIR /home/zetachain/
COPY package*.json ./
COPY packages/addresses-tools/package.json ./packages/addresses-tools/package.json
COPY packages/zevm-example-contracts/package.json ./packages/zevm-example-contracts/package.json
COPY packages/addresses/package.json packages/addresses/package.json
COPY packages/example-contracts/package.json ./packages/example-contracts/package.json
COPY packages/zeta-app-contracts/package.json ./packages/zeta-app-contracts/package.json
COPY packages/zevm-app-contracts/package.json ./packages/zevm-app-contracts/package.json
RUN yarn install ; exit 0

COPY . ./
RUN yarn install

RUN yarn add solc@0.5.10 solc@0.6.6 solc@0.7.6 solc@0.8.7

RUN cd packages/example-contracts && npx hardhat compile && cd -
RUN cd packages/zeta-app-contracts && npx hardhat compile && cd -
RUN cd packages/zevm-example-contracts && npx hardhat compile && cd -
RUN cd packages/zevm-app-contracts && npx hardhat compile && cd -

WORKDIR /home/zetachain/

Expand Down

0 comments on commit 07a0b9a

Please sign in to comment.