docker compose build exemple code example
Example 1: docker compose command build
docker-compose up // not run in the background
docker-compose up -d // run in the background
Example 2: docker compose build
web:
# build from Dockerfile
build: .
args: # Add build arguments
APP_HOME: app