Files
Etienne PerotandgVisor bot c324b9b3fa Add custom HTTP client for interacting with ollama.
This allows getting more metrics from the output stream.

PiperOrigin-RevId: 611289642
2024-02-28 18:00:25 -08:00

9 lines
198 B
Docker

FROM golang:1.22 AS builder
COPY client.go /client.go
RUN CGO_ENABLED=0 go build -o /httpclient /client.go
FROM alpine:latest
COPY --from=builder /httpclient /usr/bin/
CMD ["/usr/bin/httpclient"]