diff --git a/backend/Dockerfile b/backend/Dockerfile index 70472ab..b3f8252 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 go build -o main . +RUN CGO_ENABLED=1 go build -o main . # Stage 2: Create the final lightweight image FROM alpine:latest