Expose port for service discovery

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2022-12-11 22:31:05 +05:30
parent 437291f362
commit 48c5b5b7d5
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5

View file

@ -11,4 +11,5 @@ RUN cargo build --release
FROM gcr.io/distroless/cc:nonroot FROM gcr.io/distroless/cc:nonroot
COPY --from=builder /app/target/release/paste-frontend / COPY --from=builder /app/target/release/paste-frontend /
EXPOSE 8080
CMD ["/paste-frontend"] CMD ["/paste-frontend"]