Skip to content

Commit

Permalink
docker fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcos20 committed Aug 10, 2023
1 parent 0a94d13 commit 601e77c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,6 @@ RUN cp hardhat.config.barge.js hardhat.config.js
ENV NETWORK=barge
ENV NETWORK_RPC_URL=127.0.0.1:8545
RUN npx hardhat compile --force
#remove unneeded debug artifacts
RUN find /ocean-contracts/artifacts/* -name "*.dbg.json" -type f -delete
ENTRYPOINT ["/ocean-contracts/scripts/deploy_docker.sh"]
3 changes: 0 additions & 3 deletions scripts/deploy_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ then
fi
node scripts/deploy-contracts.js

#remove unneeded debug artifacts
find /ocean-contracts/artifacts/* -name "*.dbg.json" -type f -delete

# set flag to indicate contracts are ready
touch /ocean-contracts/artifacts/ready
fi
Expand Down

0 comments on commit 601e77c

Please sign in to comment.