Update command to work on mac

This commit is contained in:
brabli
2026-05-01 15:38:15 +01:00
parent 52adc81dbd
commit cea8ed8d95
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -5,4 +5,5 @@ services:
dockerfile: Containerfile dockerfile: Containerfile
volumes: volumes:
- ./:/code - ./:/code
network_mode: host ports:
- "8000:8000"
+1 -1
View File
@@ -15,5 +15,5 @@ tests:
# Run the local Symfony preview app at http://localhost:8000 # Run the local Symfony preview app at http://localhost:8000
serve: serve:
@docker compose run --rm php sh -c "rm -rf dev/var/cache && php -S 0.0.0.0:8000 -t dev/public" @docker compose run --rm --service-ports php sh -c "rm -rf dev/var/cache && php -S 0.0.0.0:8000 -t dev/public"