fix(login): serve UI on both IPv4 and IPv6 (#10554)

# Which Problems Are Solved

Currently, the HTTP server is listening on IPv4 only.

# How the Problems Are Solved

This PR makes it listen on IPv4 and IPv6.

Co-authored-by: Elio Bischof <elio@zitadel.com>
(cherry picked from commit 3b0ad1e9b6)
This commit is contained in:
Yann Soubeyrand
2025-10-08 23:56:43 +02:00
committed by Livio Spring
parent 8ab6b08d2d
commit d45d19f575

View File

@@ -8,7 +8,7 @@ RUN mkdir -p /.env-file && touch /.env-file/.env && chown -R nextjs:nodejs /.env
COPY --chown=nextjs:nodejs .next/standalone ./ COPY --chown=nextjs:nodejs .next/standalone ./
USER nextjs USER nextjs
ENV HOSTNAME="0.0.0.0" \ ENV HOSTNAME="::" \
PORT="3000" \ PORT="3000" \
NODE_ENV="production" NODE_ENV="production"