更新 Dockerfile

This commit is contained in:
XOF
2025-12-28 15:35:02 +08:00
parent b4685de9fc
commit af5c624d74

View File

@@ -7,7 +7,7 @@ COPY go.mod go.sum ./
RUN go mod download RUN go mod download
COPY . . COPY . .
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o GHub RUN go mod tidy && CGO_ENABLED=0 go build -ldflags="-s -w" -o GHub
FROM alpine:latest FROM alpine:latest