Dockerfile is a declarative way of creating our own images. Docker will give us some syntax to create our own images.
File name should Dockerfile. docker command should run where your Dockerfile exists.
docker build -t [docker-hub-URL]/[your-username]/[image-name]:version .
docker push [docker-hub-URL]/[your-username]/[image-name]:version