diff --git a/Dockerfile b/Dockerfile index 4a0e594..0c40f6d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,8 @@ RUN mkdir -p /app/bin /app/log RUN export GOROOT=/usr/local/go1.18.2 && \ export GOPROXY=https://goproxy.cn && \ - export PATH=$PATH:$GOROOT/bin && \ + export GOPRIVATE=gitlab.batiao8.com && \ + export PATH=$PATH:$GOROOT/bin && \ go mod tidy && \ go build cmd/enterprise.go && \ mv enterprise /app/bin && \