diff --git a/README.md b/README.md index 1fb26da65..cd8c6e456 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ with [FrankenPHP](https://frankenphp.dev) and [Caddy](https://caddyserver.com/) ## Getting Started 1. If not already done, [install Docker Compose](https://docs.docker.com/compose/install/) (v2.10+) -2. Run `docker compose build --pull --no-cache` to build fresh images +2. Run `COMPOSE_BAKE=true docker compose build --pull --no-cache` to build fresh images 3. Run `docker compose up --wait` to set up and start a fresh Symfony project 4. Open `https://localhost` in your favorite web browser and [accept the auto-generated TLS certificate](https://stackoverflow.com/a/15076602/1352334) 5. Run `docker compose down --remove-orphans` to stop the Docker containers. diff --git a/docs/existing-project.md b/docs/existing-project.md index 3e6548402..f70a107cd 100644 --- a/docs/existing-project.md +++ b/docs/existing-project.md @@ -29,7 +29,7 @@ Double-check the changes, revert the changes that you don't want to keep: Build the Docker images: - docker compose build --pull --no-cache + COMPOSE_BAKE=true docker compose build --pull --no-cache Start the project! diff --git a/docs/mysql.md b/docs/mysql.md index ce955d5c7..60a1e8696 100644 --- a/docs/mysql.md +++ b/docs/mysql.md @@ -69,7 +69,7 @@ DATABASE_URL=mysql://${MYSQL_USER:-app}:${MYSQL_PASSWORD:-!ChangeMe!}@database:3 ## Final steps Rebuild the docker environment: ```shell -docker compose down --remove-orphans && docker compose build --pull --no-cache +docker compose down --remove-orphans && COMPOSE_BAKE=true docker compose build --pull --no-cache ``` Start the services: