diff --git a/dockerfile b/dockerfile index 74d9e52..92d1939 100644 --- a/dockerfile +++ b/dockerfile @@ -8,7 +8,7 @@ WORKDIR /app COPY . . # build the go server -RUN go mod tidy && go build -o codex-server +RUN go mod tidy && CGO_ENABLED=0 go build -o codex-server # create a smaller final image FROM alpine:latest