Expose admin/metrics endpoint in Dockerfile

This commit is contained in:
Marc Schäfer
2025-10-07 09:13:02 +02:00
parent 9c0f4599b8
commit 0405aebb45

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