Make go binaries lighter

This commit is contained in:
nemunaire 2022-02-19 15:56:28 +01:00
commit 38180f8afd
2 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ COPY htdocs/ ./htdocs/
RUN go generate -v && \
go get -d -v && \
go build -v
go build -v -ldflags="-s -w"
FROM alpine