docker file run shell script when building code example
Example: how to execute docker command in shell script
echo -n "enter type compose command ? "
read type
[[ "$type" ]] && docker-compose $type;
echo -n "enter type compose command ? "
read type
[[ "$type" ]] && docker-compose $type;