Skip to content

Commit

Permalink
Add dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
k1rill-fedoseev committed Jun 4, 2021
1 parent b2ce7c1 commit 094f4d0
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
.idea/
lib/
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM node:14

WORKDIR /work

RUN yarn global add sourcify-to-etherscan

ENTRYPOINT sourcify-to-etherscan
11 changes: 11 additions & 0 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM node:14

WORKDIR /work

COPY package.json yarn.lock ./

RUN yarn

COPY . .

ENTRYPOINT ./bin/run
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ USAGE
...
```
<!-- usagestop -->

### Docker

```bash
$ docker run kirillfedoseev/sourcify-to-etherscan:latest COMMAND
```

# Commands
<!-- commands -->
* [`sourcify-to-etherscan help [COMMAND]`](#sourcify-to-etherscan-help-command)
Expand Down

0 comments on commit 094f4d0

Please sign in to comment.