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
1 changed files with 1 additions and 1 deletions

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 . && \