From 1c0c08307f0e087e032e01fcdc033d82640cb475 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 26 Mar 2025 14:48:04 +0100 Subject: [PATCH] feat: add EXPOSE command to Dockerfile (#9458) # Which Problems Are Solved - Solves a problem of healthcheck/use of zitadel in gitlab CI pipeline # How the Problems Are Solved - Adds an EXPOSE command to the Dockerfile # Additional Changes # Additional Context - https://docs.docker.com/reference/dockerfile/#expose - https://github.com/docker-library/postgres/blob/cc254e85ed86e1f8c9052f9cbf0e3320324f0421/16/bookworm/Dockerfile#L218 Co-authored-by: Maksim Khardin Co-authored-by: Ramon Co-authored-by: Livio Spring --- build/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/Dockerfile b/build/Dockerfile index 4e984fe8e6..769f04023e 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -27,6 +27,7 @@ COPY --from=artifact /etc/ssl/certs /etc/ssl/certs COPY --from=artifact /app/zitadel /app/zitadel HEALTHCHECK NONE +EXPOSE 8080 USER zitadel -ENTRYPOINT ["/app/zitadel"] \ No newline at end of file +ENTRYPOINT ["/app/zitadel"]