Docker Compose Build Production code example
Example 1: docker-compose build
$ docker-compose -f docker-compose.dev.yml up --build
Example 2: docker compose command build
docker-compose up // not run in the background
docker-compose up -d // run in the background