Maintenance page while docker takes time to rebuilt

If that’s something you can “just” do, then you can set up that nginx as a reverse proxy that will display the splash page if discourse is down.

You can do a two container install that does just that. This gives you downtime of just a minute while the new container starts up.

Which way is “easier” is a matter of opinion.