diff --git a/Dockerfile b/Dockerfile index 968d45d..58c8eb5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # 阶段1:编译 Go 二进制 -FROM golang:1.22-alpine AS builder +FROM golang:1.26-alpine AS builder ENV CGO_ENABLED=0 GOOS=linux GOARCH=amd64 WORKDIR /build COPY go.mod go.sum ./