From 7b3bd8249bfa3e3ff61ed3610084326b3f09a092 Mon Sep 17 00:00:00 2001 From: Mykola Babinskyi <45942058+babinskiy@users.noreply.github.com> Date: Fri, 16 Aug 2024 02:26:15 +0200 Subject: [PATCH] fix docker image build (#441) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1c3f206f..de2ad046 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,8 +24,8 @@ ENV GOARCH=$TARGETARCH RUN apk add --update g++ \ && go run gen_web.go \ && cd server \ -&& go clean -i -r -cache \ && go mod tidy \ +&& go clean -i -r -cache \ && go build -ldflags '-w -s' --o "torrserver" ./cmd ### BUILD TORRSERVER MULTIARCH END ###