Skip to content

Commit

Permalink
refactor: add exposed ports in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
prakharmathur82 committed Sep 12, 2024
1 parent 3b48c61 commit 0eac448
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*", \
Expand Down

0 comments on commit 0eac448

Please sign in to comment.