13 lines
255 B
Bash
Executable File
13 lines
255 B
Bash
Executable File
#!/bin/bash
|
|
|
|
check_installed() {
|
|
if ! [ -x "$(command -v $1)" ]; then
|
|
echo "Error: $1 is not installed." >&2
|
|
exit 1
|
|
fi
|
|
}
|
|
|
|
check_installed docker-compose
|
|
|
|
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build
|