shlink-web-client/indocker

9 lines
230 B
Text
Raw Normal View History

2018-06-17 09:04:53 +03:00
#!/usr/bin/env bash
2018-12-19 22:43:55 +03:00
# Run docker container if it's not up yet
if ! [[ $(docker ps | grep shlink_web_client_node) ]]; then
docker-compose up -d
fi
2018-06-17 09:04:53 +03:00
docker exec -it shlink_web_client_node /bin/sh -c "cd /home/shlink/www && $*"