Not sure what the complexity here would be, you can set up nginx with some simple DNS (or even hosts file) stuff and run HTTP locally.
Something like puma-dev does this pretty painlessly out of the box too. Running a container just for that seems frankly overkill.