shlink-web-client/indocker

9 lines
230 B
Text
Raw Normal View History

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