Set GOPRIVATE in Dockerfile
This commit is contained in:
parent
83ca5ee435
commit
9625b23033
@ -2,6 +2,7 @@ FROM golang:alpine as build
|
||||
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-users cmd/main.go
|
||||
|
Loading…
Reference in New Issue
Block a user