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:
parent
acb76e1ab1
commit
ec10cc922c
@ -11,7 +11,7 @@ ADD ./go.mod ./go.sum ./
|
|||||||
RUN go mod download
|
RUN go mod download
|
||||||
ADD . .
|
ADD . .
|
||||||
|
|
||||||
RUN go build -v -o wakapi
|
RUN go build -ldflags "-s -w" -v -o wakapi main.go
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN cp /src/wakapi . && \
|
RUN cp /src/wakapi . && \
|
||||||
|
Loading…
Reference in New Issue
Block a user