shlink-web-client/indocker
2023-08-03 09:12:47 +02: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 && $*"