From 48c5b5b7d58d0ac16cc4652160753c2e0a48316b Mon Sep 17 00:00:00 2001 From: baalajimaestro Date: Sun, 11 Dec 2022 22:31:05 +0530 Subject: [PATCH] Expose port for service discovery Signed-off-by: baalajimaestro --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index feed168..d14348a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,4 +11,5 @@ RUN cargo build --release FROM gcr.io/distroless/cc:nonroot COPY --from=builder /app/target/release/paste-frontend / +EXPOSE 8080 CMD ["/paste-frontend"]