Now assuming you have created your dockerfile already with all the requirements.
You next step should be to run it, you can do so using the below command:
$ docker image build -t <name_of_image> .
This will create your custom image with the name you provided above.To check out your new image use docker images command:
$ docker images
Then you can do as you wish with your new docker image.
Hope this helped :)
If you feel you need help from someone who has had years of industry experience with docker try out docker training course.