Skip to content

Commit

Permalink
Merge pull request #83 from zhangguanzhang/patch-1
Browse files Browse the repository at this point in the history
set non-root user in Dockerfile
  • Loading branch information
Slach committed Nov 6, 2023
2 parents 5ae7040 + 67ffc49 commit 5c07d59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*

ENTRYPOINT ["/usr/local/bin/clickhouse_exporter"]
CMD ["-scrape_uri=http://localhost:8123"]
USER nobody
EXPOSE 9116

0 comments on commit 5c07d59

Please sign in to comment.