Add custom static route to docker?

Hi there, I’m pretty new to docker, but I’m needing to add a custom route to the docker container to route traffic to an internal LAN router, vs. the default gateway.
I have done so via a crontab entry, but how can I add that to the docker config, or via a config file so that it is persistent.