Skip to content

Commit

Permalink
fix: aztec-run not exposing port for builder
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed May 7, 2024
1 parent 3e05534 commit 27b0d6e
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' but excluding 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 27b0d6e

Please sign in to comment.