Is it possible to dockerise Javafx application. Can I run image file in browser?

I have built desktop application in JavaFX. I am trying to create image using docker. So I can run image file in browser. Is it possible?

If it is possible so please help me, How to create docker file for JavaFX application.