build(api): 升级 Go 与依赖修复安全漏洞 (#41)

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
fu500f
2026-10-31 00:47:21 +00:00
co-authored by Devin AI
parent 36f9c95fa7
commit 45213805df
6 changed files with 37 additions and 40 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ COPY public-frontend/ ./
RUN npm run build
# Stage 2: build the Go server binary with the SPA embedded.
FROM golang:1.23-alpine AS build
FROM golang:1.27-alpine AS build
ENV GOPROXY=https://goproxy.cn,direct
WORKDIR /src
COPY api/go.mod api/go.sum ./