How my changes can take effect on Discourse with docker

no that is not accurate.

Generally, forking is not a good idea period. Our recommendation is always to use plugins to extend Discourse, forking is expensive to maintain and impractical in most cases.