docker-compose build buildkit code example
Example 1: docker-compose build
$ docker-compose -f docker-compose.dev.yml up --build
Example 2: docker compose build
web:
# build from Dockerfile
build: .
args: # Add build arguments
APP_HOME: app