How to write docker yaml file