docker-compose-viz/bin/entrypoint.sh

13 lines
130 B
Bash
Raw Permalink Normal View History

2017-06-30 09:40:14 +02:00
#!/usr/bin/env sh
set -e
CURRENT_DIR=$(dirname $0)
if [ "$1" = "render" ]
then
$CURRENT_DIR/dcv "$@"
2017-06-30 09:40:14 +02:00
else
exec "$@"
fi