From 0ac16f1ac5ee1b71ed65f42dd202d8d65dc173f1 Mon Sep 17 00:00:00 2001 From: benesjan Date: Tue, 7 May 2024 12:47:28 +0000 Subject: [PATCH] fix: aztec-run not exposing port for builder --- aztec-up/bin/.aztec-run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aztec-up/bin/.aztec-run b/aztec-up/bin/.aztec-run index cb72171601e..77cfbcf3c25 100755 --- a/aztec-up/bin/.aztec-run +++ b/aztec-up/bin/.aztec-run @@ -98,9 +98,9 @@ while [[ "$#" -gt 0 ]]; do esac done -# Dynamic port assignment based on IMAGE containing '/aztec' +# Dynamic port assignment based on IMAGE containing '/aztec' and not containing 'builder' (to exclude aztec-builder) port_assignment="" -if [[ "$IMAGE" == *"/aztec"* ]]; then +if [[ "$IMAGE" == *"/aztec"* ]] && [[ "$IMAGE" != *"builder"* ]]; then port_assignment="-p $AZTEC_PORT:$AZTEC_PORT" fi