diff --git a/backend/Dockerfile b/backend/Dockerfile index 7b167fe3..43f05cf2 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -16,7 +16,7 @@ COPY ./vcs ./vcs/ ENV GO111MODULE on # Build from the backend directory which contains the main.go -RUN cd backend && go install -v ./... +RUN cd backend && go mod tidy && go install -v ./... FROM alpine:3.14