parent
145e40a431
commit
569c2c56fb
@ -10,7 +10,7 @@ ENV CGO_ENABLED=1
|
||||
ENV GO111MODULE=on
|
||||
ENV GOPROXY=https://goproxy.cn,direct
|
||||
|
||||
RUN go build -ldflags="-s -w" -installsuffix cgo -o app && up -9 app
|
||||
RUN go build -ldflags="-s -w" -o app && up -9 app
|
||||
|
||||
RUN ls -lh && chmod +x ./app
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user