Thank you
there are containers designed for this - I tend to avoid it outside the specific case of CI / build cluster setup, because an uberjar plus java plus clojure.main as an entry point gives great flexibility, with smaller startup and a smaller image size I use lein to build the uberjar, then put the ubarjar plus a jvm (no jdk needed) in a container
for starters, using lein inside a docker container to run an app means running a build tool inside your prod server, which is "unhygeinic"