diff --git a/backend/Dockerfile b/backend/Dockerfile index b3f8252..49fc625 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -5,6 +5,10 @@ WORKDIR /app # Copy go.mod and go.sum files to download dependencies COPY go.mod go.sum ./ + +# Install the C compiler (gcc) and other build tools needed for CGO +RUN apk add --no-cache build-base + RUN go mod download # Copy the rest of the application source code