view testbench-node/docker-entrypoint.sh @ 125:292f393122d4

DEP-12 consolidate template to correctly handle volumes
author smith@nwoca.org
date Sat, 06 May 2017 17:38:14 +0100
parents 0f366721a499
children b8373a99ad4d
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=phantomjs"
   ;;

  *)
  exec "$@"
  ;;

esac