A Dockerfile seems like a pancake?
This service provides a editor for making it easier to Dockerfile. Dockerfile itself is overlapping layer as a pancake replace or manage and you can easily to bring from another file. So, one of the layers on a single pancake and make a Dockerfile like cooking sense.
Please read a dockerfile_pancake.pdf
Please check Docker-Pancake-Presentation2015.pdf