🎨
Some checks failed
continuous-integration/drone/tag Build is failing

This commit is contained in:
coward 2024-05-08 16:52:22 +08:00
parent e8ecc231b5
commit 145e40a431

View File

@ -6,11 +6,11 @@ WORKDIR /build
COPY . .
# sqlite必须
ENV CGO_ENABLED=0
ENV CGO_ENABLED=1
ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.cn,direct
RUN CGO_ENABLED=1 go build -ldflags="-s -w" -installsuffix cgo -o app && up -9 app
RUN go build -ldflags="-s -w" -installsuffix cgo -o app && up -9 app
RUN ls -lh && chmod +x ./app