shlink-web-client/indocker
2018-12-19 20:43:55 +01:00

8 lines
230 B
Bash
Executable file

#!/usr/bin/env bash
# Run docker container if it's not up yet
if ! [[ $(docker ps | grep shlink_web_client_node) ]]; then
docker-compose up -d
fi
docker exec -it shlink_web_client_node /bin/sh -c "cd /home/shlink/www && $*"