Skip to content

Commit

Permalink
docker: publish a reusable image
Browse files Browse the repository at this point in the history
  • Loading branch information
NickVolynkin committed Nov 14, 2023
1 parent aaddae4 commit 03d5058
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Things we don't want in a Docker image
.env
.git
.github
.idea

# build artifacts
coverage
coverage.json
node_modules
typechain
typechain-types

# Hardhat files
artifacts
cache
deployments
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM node:18.18-bullseye

ADD . /opt/evm-placeholder-verification

WORKDIR /opt/evm-placeholder-verification

RUN npm i
RUN npx hardhat compile

0 comments on commit 03d5058

Please sign in to comment.