build: 更新 dockerfile

This commit is contained in:
Mmx233
2023-04-07 10:30:19 +08:00
parent 3f4ab32a19
commit b373e5a8de

View File

@@ -6,7 +6,7 @@ WORKDIR /build
COPY . .
RUN go build -gcflags=-trimpath=$GOPATH -asmflags=-trimpath=$GOPATH -ldflags '-extldflags "-static" -s -w' -o runner
RUN go build -gcflags=-trimpath=$GOPATH -asmflags=-trimpath=$GOPATH -ldflags '-extldflags "-static" -s -w' -o runner ./cmd/bitsrun
FROM alpine:latest