diff --git a/docker/deploy.Dockerfile b/docker/deploy.Dockerfile index 870c3a1..9d47496 100644 --- a/docker/deploy.Dockerfile +++ b/docker/deploy.Dockerfile @@ -1,3 +1,4 @@ FROM node:18.16.0-alpine3.17 COPY . . +RUN ["npm", "install"] CMD ["sh", "docker/deploy.sh"] diff --git a/hardhat.config.js b/hardhat.config.js index 86540f6..3cbedf2 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -24,5 +24,8 @@ module.exports = { hardhat: { tags: ["local"], }, + codexdisttestnetwork: { + url: process.env.DISTTEST_NETWORK_URL + } }, } diff --git a/package.json b/package.json index 7c2c4b4..6bba17b 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "start": "hardhat node --export deployment-localhost.json", "compile": "hardhat compile", "format": "prettier --write contracts/**/*.sol test/**/*.js", - "lint": "solhint contracts/**.sol" + "lint": "solhint contracts/**.sol", + "deploy": "hardhat deploy" }, "devDependencies": { "@nomiclabs/hardhat-ethers": "^2.2.1",