1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

perf: strip binaries

This commit is contained in:
Steven Tang 2022-08-19 19:53:02 +10:00
parent acb76e1ab1
commit ec10cc922c
No known key found for this signature in database
GPG Key ID: C7B961512342C50E

View File

@ -11,7 +11,7 @@ ADD ./go.mod ./go.sum ./
RUN go mod download
ADD . .
RUN go build -v -o wakapi
RUN go build -ldflags "-s -w" -v -o wakapi main.go
WORKDIR /app
RUN cp /src/wakapi . && \