mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-22 08:54:33 +03:00
8 lines
230 B
Bash
Executable file
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 && $*"
|