fix: fix certs (#5)

This commit is contained in:
Rasmus Wejlgaard 2026-04-24 20:46:25 +01:00 committed by GitHub
parent 1e0eff520f
commit 7d3b08f98c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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"]