how to use dockerfile to build image code example Example: docker build image docker build --tag hello .