From shell, run the sbt assembly command, and metarank build will be built into target/scala-2.13/metarank.jar
$sbtassembly[info] welcome to sbt 1.7.1 (EclipseAdoptiumJava11.0.15)[info] loading global plugins from /home/code/.sbt/1.0/plugins[info] loading settings for project metarank-build from plugins.sbt ...[info] loading project definition from /home/code/metarank/project[info] loading settings for project root from build.sbt ...[info] set current project to metarank (in build file:/home/code/metarank/)[info] compiling 28 Scala sources to /home/code/metarank/target/scala-2.13/classes ...[info] compiling 24 Scala sources to /home/code/metarank/target/scala-2.13/classes ...[success] Total time: 48 s, completed Aug 30, 2022, 3:40:06 PM
Building docker image
Docker image can be built the same way as the JAR bundle, with the following SBT command: