diff --git a/script/server b/script/server new file mode 100755 index 00000000..59d2d32b --- /dev/null +++ b/script/server @@ -0,0 +1,7 @@ +#!/bin/sh + +export BIND_DOCKER_SERVICE_PORTS=1 +appdir=$(cd $(dirname "$0")/.. && pwd) +[ -f /etc/app-env ] || exec "$appdir/script/docker-environment" $0 $@ + +bin/rails server -b 0.0.0.0