Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-cristino committed Jan 30, 2024
1 parent 4c08ac4 commit 382aaea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion start-restroom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ if [[ "$FILES" != "" ]]; then
FILES_PARAMS="-e FILES_DIR -v $FILES:$FILES_DIR"
fi

docker run --network="host" --name $RESTROOM_CONTAINER_NAME --publish 3000:3000 $FILES_PARAMS $LOGGER_PARAMS -v "$CONTRACTS":"/app/contracts" --detach ghcr.io/dyne/restroom-mw:latest
docker run --name $RESTROOM_CONTAINER_NAME --publish 3000:3000 $FILES_PARAMS $LOGGER_PARAMS -v "$CONTRACTS":"/app/contracts" --detach ghcr.io/dyne/restroom-mw:latest

while ! `echo -e "\x1dclose\x0d" | telnet localhost 3000 >/dev/null 2>/dev/null`; do
echo -e "\x1dclose\x0d" | telnet localhost 3000
sleep 1
done

0 comments on commit 382aaea

Please sign in to comment.