diff --git a/proto/Dockerfile b/proto/Dockerfile index 9708141..3406ee0 100755 --- a/proto/Dockerfile +++ b/proto/Dockerfile @@ -27,6 +27,9 @@ WORKDIR /app # Set production environment ENV NODE_ENV=production +# Next standalone otherwise inherits Docker's container-ID HOSTNAME and only binds +# to the container IP. Bind explicitly to all interfaces for port publishing and healthchecks. +ENV HOSTNAME=0.0.0.0 # Create non-root user for security RUN addgroup --system --gid 1001 nodejs