feat(docker): add Dockerfile for application build and runtime

This commit is contained in:
2025-11-02 14:06:39 +01:00
parent aa83082d09
commit 21b6267ccf
6 changed files with 57 additions and 15 deletions

View File

@@ -19,17 +19,17 @@ lazy val commonSettings = Seq(
.map(m => "org.openjfx" % s"javafx-$m" % "21" classifier osName)
},
libraryDependencies += guice,
coverageEnabled := true,
coverageFailOnMinimum := true,
coverageMinimumStmtTotal := 85,
coverageMinimumBranchTotal := 100
// coverageEnabled := true,
// coverageFailOnMinimum := true,
// coverageMinimumStmtTotal := 85,
// coverageMinimumBranchTotal := 100
)
lazy val knockoutwhist = project.in(file("knockoutwhist"))
.settings(
commonSettings,
mainClass := Some("de.knockoutwhist.KnockOutWhist"),
coverageExcludedPackages := "de.knockoutwhist.ui.*;de.knockoutwhist.utils.gui.*"
//coverageExcludedPackages := "de.knockoutwhist.ui.*;de.knockoutwhist.utils.gui.*"
)
lazy val knockoutwhistweb = project.in(file("knockoutwhistweb"))
@@ -38,7 +38,7 @@ lazy val knockoutwhistweb = project.in(file("knockoutwhistweb"))
.settings(
commonSettings,
libraryDependencies += "org.scalatestplus.play" %% "scalatestplus-play" % "7.0.2" % Test,
libraryDependencies += "de.mkammerer" % "argon2-jvm" % "2.12",
libraryDependencies += "de.mkammerer" % "argon2-jvm-nolibs" % "2.12",
libraryDependencies += "com.auth0" % "java-jwt" % "4.3.0",
libraryDependencies += "com.github.ben-manes.caffeine" % "caffeine" % "3.2.2",
JsEngineKeys.engineType := JsEngineKeys.EngineType.Node