Browse Source

no proxy

pull/25/head
yedf2 5 years ago
parent
commit
b5e0149dd4
  1. 2
      helper/Dockerfile-release

2
helper/Dockerfile-release

@ -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…
Cancel
Save