diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7e85479 --- /dev/null +++ b/Dockerfile @@ -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"]