diff --git a/Dockerfile b/Dockerfile index f01ed66..fcdf3ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,9 @@ FROM golang:alpine as build +RUN apk add --no-cache git WORKDIR /app COPY go.sum /app/go.sum COPY go.mod /app/go.mod +ENV GOPRIVATE=git.t-juice.club RUN go mod download COPY . /app RUN go build -o mf-auth cmd/main.go