This commit is contained in:
starry
2026-03-17 22:07:47 +08:00
committed by GitHub
parent 905187c0d3
commit a9c0f6c7dd

View File

@@ -8,7 +8,7 @@ RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} go build -ldflags="-s -w" -trimpath -o qqbot .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} go build -ldflags="-s -w" -trimpath -o qqbot . && chmod +x qqbot
FROM alpine