no proxy
This commit is contained in:
parent
3f3ca32cb1
commit
b5e0149dd4
@ -1,7 +1,7 @@
|
||||
FROM golang:1.16.6-alpine3.14 as builder
|
||||
WORKDIR /app/dtm
|
||||
RUN go env -w GO111MODULE=on
|
||||
RUN go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/,direct
|
||||
# RUN go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/,direct
|
||||
EXPOSE 8080
|
||||
COPY . .
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build app/main.go
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user