packaging-clojure-examples icon indicating copy to clipboard operation
packaging-clojure-examples copied to clipboard

Packaging a full-stack Clojure web app for production

Packaging Clojure for Production

Companion repo for this blog post

All the examples have the same resources/ and src/, only the tool configurations (project.clj, deps.edn, Dockerfile, shadow-cljs.edn, ...) vary.

Contents:

  • deps-docker/ – a deps.edn project packaged directly into a docker image, no uberjar
  • deps-uberjar/ - a deps.edn project that builds an uberjar, optionally packagint it inside a docker image
  • lein/ – a Leiningen project that builds an uberjar, optionally packaging it inside a docker image