How to use github code in docker

I am here to ask a novice question please bear with me.

I have provided codes saved in github and advised to create a build to run in docker.

Could anyone please give an idea what to do indeed? please assume its set of jsp and java class file.



You should learn to write Dockerfile if you haven’t already. You can get many example projects where Dockerfile has projects being cloned from github and used.


Thanks ranjandas for your reply.

Could you please give me one example link? I would be grateful.



The links given below can help you. Although those are discussing examples around Rails applications you can modify those to fit your needs.


Thanks. I will go through it.

thanks very much again.

Das, that was really useful!! thanks.