From 218e7d652fcbfa2d029be28ff4b2ee812c135473 Mon Sep 17 00:00:00 2001 From: nquidox Date: Sun, 12 Oct 2025 14:52:19 +0300 Subject: [PATCH] update --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3145ef8..a99e5ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ WORKDIR /app COPY go.mod go.sum ./ RUN go mod download COPY . . -RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main ./cmd +RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o main "./cmd" FROM alpine:3.22