FROM node WORKDIR /code COPY package.json /code/package.json RUN npm install COPY . /code/ # Deploy the contracts CMD ["npx", "hardhat", "deploy"]