All deployment related code, including dockerfile should be moved to seperate repo. Then the image can pull the code from github and build it. This keeps the main repo cleaner.
This should also make deployements much faster, since the entire image won't need to be built and uploaded.