As far as I understood docker and docker-compose the flow is like that:
docker
docker-compose
Dockerfile --build--> Docker Image --create--> Docker