Files
enkly-ai/tools/indexer/Dockerfile
enkly 79ce8dc4c0
Some checks failed
Go CI Pipeline / build_and_test (push) Failing after 22m0s
Init Project
2026-10-30 18:06:55 +01:00

12 lines
320 B
Docker

FROM golang:1.23-bookworm AS build
WORKDIR /src
COPY go.mod go.sum* ./
COPY gen/ gen/
COPY tools/indexer/ tools/indexer/
RUN go mod tidy
RUN CGO_ENABLED=0 go build -o /out/indexer ./tools/indexer/cmd/indexer
FROM gcr.io/distroless/static-debian12:nonroot
COPY --from=build /out/indexer /indexer
ENTRYPOINT ["/indexer"]