view testbench-node/docker-entrypoint.sh @ 580:b6f03eb10850

add option to run applications as support instances
author Marc Davis <marc.davis@mcoecn.org>
date Thu, 05 Sep 2024 14:08:27 -0400
parents b8373a99ad4d
children
line wrap: on
line source
#!/bin/bash
set -e

case "$1" in

   node)
     java -jar testbench-standalone.jar -role node -hub http://$HUB_HOST:4444/grid/register -browser "browserName=chrome"
   ;;

  *)
  exec "$@"
  ;;

esac