fix: fix certs

This commit is contained in:
Rasmus Wejlgaard 2026-04-24 20:38:58 +01:00
parent 1e0eff520f
commit cb19b9321b

View file

@ -6,6 +6,7 @@ COPY . .
RUN CGO_ENABLED=0 go build -o /octopus_exporter ./cmd/octopus_exporter
FROM scratch
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /octopus_exporter /octopus_exporter
EXPOSE 9359
ENTRYPOINT ["/octopus_exporter"]