docker-compose-viz/bin/entrypoint.sh
2017-08-13 18:59:24 +02:00

12 lines
130 B
Bash
Executable file

#!/usr/bin/env sh
set -e
CURRENT_DIR=$(dirname $0)
if [ "$1" = "render" ]
then
$CURRENT_DIR/dcv "$@"
else
exec "$@"
fi