AI报告第4点改为支撑与阻力专节,喂入30日K线数据,Go构建加goproxy镜像

This commit is contained in:
fish
2026-05-10 18:03:10 +08:00
parent c47735f3b6
commit 6ab310cfb3
2 changed files with 21 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ WORKDIR /src
COPY backend ./
COPY --from=ui /ui/dist ./dist
ENV CGO_ENABLED=0 GOOS=linux
ENV CGO_ENABLED=0 GOOS=linux GOPROXY=https://goproxy.cn,direct
RUN go mod tidy && \
go build -trimpath -ldflags="-s -w" -o /out/web ./