Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
skmgoldin committed Sep 9, 2020
1 parent bf9eec8 commit a004c7a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM golang:1.15-alpine

WORKDIR /eth2-comply

COPY go.mod go.sum ./
RUN go mod download

COPY cmd cmd
COPY pkg pkg

RUN go build -o /usr/bin/eth2-comply cmd/eth2-comply/main.go

COPY tests tests

ENTRYPOINT ["eth2-comply", "--testsRoot", "tests"]

0 comments on commit a004c7a

Please sign in to comment.