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 <[email protected]>
Co-authored-by: Ramon <[email protected]>
Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
Max
2025-03-26 13:48:04 +00:00
committed by GitHub
co-authored by Maksim Khardin Ramon Livio Spring
parent 3424204291
commit 1c0c08307f
+2 -1
View File
@@ -27,6 +27,7 @@ COPY --from=artifact /etc/ssl/certs /etc/ssl/certs
COPY --from=artifact /app/zitadel /app/zitadel COPY --from=artifact /app/zitadel /app/zitadel
HEALTHCHECK NONE HEALTHCHECK NONE
EXPOSE 8080
USER zitadel USER zitadel
ENTRYPOINT ["/app/zitadel"] ENTRYPOINT ["/app/zitadel"]