🎨
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
coward 2024-05-09 08:48:32 +08:00
parent 9133fb2f5b
commit d67b35849d

View File

@ -9,7 +9,7 @@ COPY . .
ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.cn,direct
RUN go mod download && go build -o app && up -9 app
RUN go build -ldflags="-s -w" -o app && upx -9 app
RUN ls -lh && chmod +x ./app