diff --git a/Dockerfile b/Dockerfile index b64957b..ddf59ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM golang:1.20.7 as builder WORKDIR /go/src/joylink.club/bj-rtsts-server COPY ./* ./ -RUN go build -o bj-rtsts-server +RUN go env -w GO111MODULE=on && go env -w GOPROXY=https://goproxy.cn,direct && go build -o bj-rtsts-server FROM scratch