From 0eac4481097098c9c88dc2ab9b5ff473d6944f6a Mon Sep 17 00:00:00 2001 From: prakharmathur82 Date: Thu, 12 Sep 2024 15:26:47 +0530 Subject: [PATCH] refactor: add exposed ports in Dockerfile --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index dc1888ef2..b9c912956 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,8 @@ COPY --from=GRADLE_BUILD ./src/main/resources/log4j.xml /opt/firehose/etc/log4j. COPY --from=GRADLE_BUILD ./src/main/resources/logback.xml /opt/firehose/etc/logback.xml COPY ./jmx_exporter_config.yml /opt/firehose/etc/jmx_exporter_config.yml WORKDIR /opt/firehose +EXPOSE 8778/tcp +EXPOSE 9404/tcp CMD ["java", \ "-javaagent:/opt/firehose/jmx_prometheus_javaagent.jar=9404:/opt/firehose/etc/jmx_exporter_config.yml", \ "-cp", "bin/*:/work-dir/*", \