Skip to content

Commit 094f4d0

Browse files
Add dockerfiles
1 parent b2ce7c1 commit 094f4d0

4 files changed

Lines changed: 28 additions & 0 deletions

File tree

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/
2+
.idea/
3+
lib/

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM node:14
2+
3+
WORKDIR /work
4+
5+
RUN yarn global add sourcify-to-etherscan
6+
7+
ENTRYPOINT sourcify-to-etherscan

Dockerfile.dev

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM node:14
2+
3+
WORKDIR /work
4+
5+
COPY package.json yarn.lock ./
6+
7+
RUN yarn
8+
9+
COPY . .
10+
11+
ENTRYPOINT ./bin/run

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ USAGE
2626
...
2727
```
2828
<!-- usagestop -->
29+
30+
### Docker
31+
32+
```bash
33+
$ docker run kirillfedoseev/sourcify-to-etherscan:latest COMMAND
34+
```
35+
2936
# Commands
3037
<!-- commands -->
3138
* [`sourcify-to-etherscan help [COMMAND]`](#sourcify-to-etherscan-help-command)

0 commit comments

Comments
 (0)