Skip to content

Commit 095fb86

Browse files
committed
Reference docker compose over docker-compose
1 parent 04a01e7 commit 095fb86

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.claude/CLAUDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ make php # Shell into PHP container
2424
### Running a Single Test
2525

2626
```bash
27-
docker-compose exec php vendor/bin/phpunit --filter=TestClassName
28-
docker-compose exec php vendor/bin/phpunit --filter=testMethodName
29-
docker-compose exec php vendor/bin/phpunit tests/Unit/Path/To/TestFile.php
27+
docker compose exec php vendor/bin/phpunit --filter=TestClassName
28+
docker compose exec php vendor/bin/phpunit --filter=testMethodName
29+
docker compose exec php vendor/bin/phpunit tests/Unit/Path/To/TestFile.php
3030
```
3131

3232
## Architecture

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
dcphp=$$(echo "docker-compose exec php")
2-
dcnode=$$(echo "docker-compose exec node")
1+
dcphp=$$(echo "docker compose exec php")
2+
dcnode=$$(echo "docker compose exec node")
33

44
.PHONY: it
55
it: vendor fix stan test ## Run useful checks before commits
@@ -14,11 +14,11 @@ setup: build docs/node_modules vendor ## Prepare the local environment
1414
.PHONY: build
1515
build: ## Build the local Docker containers
1616
# Using short options of `id` to ensure compatibility with macOS, see https://github.com/nuwave/lighthouse/pull/2504
17-
docker-compose build --pull --build-arg USER_ID=$(shell id -u) --build-arg GROUP_ID=$(shell id -g)
17+
docker compose build --pull --build-arg USER_ID=$(shell id -u) --build-arg GROUP_ID=$(shell id -g)
1818

1919
.PHONY: up
20-
up: ## Bring up the docker-compose stack
21-
docker-compose up --detach
20+
up: ## Bring up the docker compose stack
21+
docker compose up --detach
2222

2323
.PHONY: fix
2424
fix: rector php-cs-fixer prettier ## Automatically refactor and format code

0 commit comments

Comments
 (0)