Question: what is difference between dockerfile and docker-compose.yml?
Answer: yml. Remember, docker-compose. yml files are used for defining and running multi-container Docker applications, whereas Dockerfiles are simple text files that contain the commands to assemble an image that will be used to deploy containers.