fix: 更新go.sum并添加go mod tidy到Dockerfile

This commit is contained in:
2026-04-27 16:32:52 +08:00
parent 6522164c2b
commit a0b32fccab
3 changed files with 16 additions and 13 deletions
+1
View File
@@ -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