Move from docker-compose to docker compose

This commit is contained in:
Jamie Curnow
2025-10-14 19:01:00 +10:00
parent 43599b4028
commit e6f7ae3fba
10 changed files with 60 additions and 69 deletions

View File

@@ -3,11 +3,11 @@
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
. "$DIR/.common.sh"
# Ensure docker-compose exists
if hash docker-compose 2>/dev/null; then
# Ensure docker exists
if hash docker 2>/dev/null; then
cd "${DIR}/.."
rm -rf "$DIR/../test/results"
docker-compose up --build cypress
docker compose up --build cypress
else
echo -e "${RED} docker-compose command is not available${RESET}"
echo -e "${RED} docker command is not available${RESET}"
fi