diff --git a/Dockerfile b/Dockerfile index 69d78e6c..e304d934 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,12 +2,15 @@ FROM golang as builder WORKDIR /build +RUN apt update && apt install -y nodejs npm + ADD go.mod . ADD go.sum . +RUN go install github.com/bufbuild/buf/cmd/buf@latest + ADD . . -RUN go install github.com/bufbuild/buf/cmd/buf@latest RUN go generate ./... RUN go build ./cmd/moneyd