Skip to content

Commit

Permalink
fix: aztec-run not exposing port for builder (#6241)
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed May 7, 2024
1 parent 3e05534 commit a80c091
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aztec-up/bin/.aztec-run
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a80c091

Please sign in to comment.