From 0d709ad9d976e93cf2d15abfb92613ce71f21e24 Mon Sep 17 00:00:00 2001 From: Sulejman Sarajlija <3107367+Sulejman@users.noreply.github.com> Date: Sat, 3 Aug 2024 15:28:04 +0200 Subject: [PATCH] Exposing neccessary ports on listener --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9c8caa4..62be062 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,11 @@ FROM scratch # Copy the binary from the builder stage COPY --from=builder /listener /listener -# Expose port 9000 +# Expose port 9000 for collector server +EXPOSE 9100 + +# Expose port 9988 for API server +EXPOSE 9988 # Command to run the application CMD ["/listener"]