Skip to content

Commit cf2ff64

Browse files
committed
refactor: modernize by replacing docker-compose with docker compose command
1 parent 6188d46 commit cf2ff64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ else
1515
endif
1616

1717
# Définition des variables
18-
DOCKER_COMPOSE = docker-compose
19-
DOCKER_EXEC = docker-compose exec -T
18+
DOCKER_COMPOSE = docker compose
19+
DOCKER_EXEC = docker compose exec -T
2020
PHP_CONTAINER = php
21-
MYSQL_CONTAINER = $(shell docker-compose ps -q mysqldb 2>/dev/null)
21+
MYSQL_CONTAINER = $(shell docker compose ps -q mysqldb 2>/dev/null)
2222
WEB_ROOT = $(shell pwd)/web
2323
APP_ROOT = $(WEB_ROOT)/app
2424
MYSQL_DUMPS_DIR = data/db/dumps

0 commit comments

Comments
 (0)