Skip to content

Commit

Permalink
Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lcy362 committed Jun 5, 2024
1 parent c4f0577 commit e86aab5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM openjdk:21

COPY build/libs/*.jar app.jar
ENTRYPOINT ["java","-jar","/app.jar"]
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ jacoco {
reportsDirectory = layout.buildDirectory.dir("reports/jacoco")
}

vaadin {
productionMode = true
}

tasks.withType<Test> {
useJUnitPlatform()
}
Expand Down
Binary file added file.db
Binary file not shown.

0 comments on commit e86aab5

Please sign in to comment.