diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100755 index 00000000..65e074a8 --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,11 @@ +#!/bin/sh -e + +### Usage: /entrypoint.sh +command=$1 + +if [ "$command" == "serve" ]; then + file="$2" + dockerize -template "$file" | dex serve - +else + dex $@ +fi