8 lines
200 B
Bash
8 lines
200 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
if [ "$(id -u)" != "0" ]; then
|
||
|
echo -e "\033[31mThis script requires superuser rights.\033[0m"
|
||
|
exit 0
|
||
|
fi
|
||
|
|
||
|
sudo docker compose -f docker-compose.dev.yml up --build --force-recreate
|