Can I create my own registry docker image for my frappe application

I want to create custom docker image from my customized frappe then push it to my registry docker (does not depend on frappe’s docker image), how do i do that. If you have any documentations kindly share.
tks so much