docker-compose only build dockerfile code example Example: docker-compose build $ docker-compose -f docker-compose.dev.yml up --build