AI报告第4点改为支撑与阻力专节,喂入30日K线数据,Go构建加goproxy镜像
This commit is contained in:
@@ -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 ./
|
||||
|
||||
Reference in New Issue
Block a user