Sanitized mirror from private repository - 2026-03-23 11:46:37 UTC
Some checks failed
Documentation / Build Docusaurus (push) Failing after 5m4s
Documentation / Deploy to GitHub Pages (push) Has been skipped

This commit is contained in:
Gitea Mirror Bot
2026-03-23 11:46:37 +00:00
commit 8c1e3cc3b8
1260 changed files with 310869 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
FROM golang:1.23 AS build
WORKDIR /app
RUN git clone https://github.com/kradalby/truenas_exporter.git .
RUN go build -o truenas_exporter .
FROM debian:stable-slim
WORKDIR /root/
COPY --from=build /app/truenas_exporter .
EXPOSE 9163
ENTRYPOINT ["./truenas_exporter"]