From 48f442398648d8779d2e6426c18a0484cfc0150f Mon Sep 17 00:00:00 2001 From: jafreli Date: Sat, 31 Jan 2026 01:21:43 +0100 Subject: [PATCH] fix: Dockerfile cgo --- backend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 96350e0..70472ab 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -13,7 +13,7 @@ COPY . . # Build the application # CGO_ENABLED=0 is important for a clean static build for Alpine # -o main specifies the output file name -RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main . +RUN go build -o main . # Stage 2: Create the final lightweight image FROM alpine:latest