fix: 更新go.sum并添加go mod tidy到Dockerfile
This commit is contained in:
@@ -8,6 +8,7 @@ ENV GOPROXY=https://goproxy.cn,direct
|
||||
ENV GOFLAGS=-buildvcs=false
|
||||
|
||||
COPY backend/go.mod backend/go.sum ./
|
||||
RUN go mod tidy
|
||||
RUN go mod download
|
||||
|
||||
COPY backend ./backend
|
||||
|
||||
Reference in New Issue
Block a user