change display of boolean in ComicView and add docker tasks to build.gradle

This commit is contained in:
Thomas Peetz
2025-03-31 22:41:08 +02:00
parent bbc08863f0
commit 38e77b25b1
3 changed files with 84 additions and 13 deletions
+10
View File
@@ -148,6 +148,16 @@ bootRun {
args = ["--spring.profiles.active=${project.properties['profile'] ?: 'prod'}"]
}
task dockerImage(type: Exec) {
dependsOn["bootJar"]
commandLine "docker", "build", ".", "-t", "kontor:${project.version}", "-t", "kontor"
}
task dockerCompose(type: Exec) {
dependsOn["dockerImage"]
commandLine "docker", "compose", "up", "-d", "--build"
}
vaadin {
productionMode = true
}