fixes "Command 'docker-compose' not found" error.

This commit fixes the error thrown due to a typo in the command `docker-compose -f docker-compose.dev.yml up --build`.
The correct command is `docker compose -f docker-compose.dev.yml up --build` without the hyphen between 'docker' and 'compose' in the command sequence
This commit is contained in:
Arinze Chianumba 2022-11-04 15:38:07 +01:00 committed by GitHub
parent 01028d58ce
commit 31bdfddbc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ $ npm install nodemon
Lets start our application and confirm that it is running properly.
```console
$ docker-compose -f docker-compose.dev.yml up --build
$ docker compose -f docker-compose.dev.yml up --build
```
We pass the `--build` flag so Docker compiles our image and then starts it.