FROM golang:1.24 WORKDIR /app Copy go.mod g.sum ./ RUN go mod download COPY *.go ./ RUN CGO_ENABLED=0 GOOS=linux go build -o /test CMD ["/test"]