Create build and viewer with dockerfile and not docker.yml

How can I create build and viewer with dockerfile and not docker.yml? Specific to Azure
Was this page helpful?