Expose admin/metrics endpoint in Dockerfile

Former-commit-id: 0405aebb45490da598bd1bb70026893d39670a06
This commit is contained in:
Marc Schäfer
2025-10-07 09:13:02 +02:00
parent d96389a227
commit 26d78f749a
+4 -1
View File
@@ -22,6 +22,9 @@ RUN apk --no-cache add ca-certificates tzdata
COPY --from=builder /newt /usr/local/bin/
COPY entrypoint.sh /
# Admin/metrics endpoint (Prometheus scrape)
EXPOSE 2112
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["newt"]
CMD ["newt"]