Er… what? Even in today’s world with Docker, you have differences between dev and prod. For a start, one is accessed via the internet and requires TLS configs to work correctly. The other is accessed via localhost.
But yes, the cert is created differently in prod and there are a few other differences.
But it's much closer then in the cloud.