From 0998142c2cf9087cb7ac282b4f96e6a97905bc80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8C=E1=85=A1=E1=86=BC=E1=84=89=E1=85=A5=E1=86=AB?= =?UTF-8?q?=E1=84=8B=E1=85=A2?= Date: Wed, 6 Sep 2023 13:50:09 +0900 Subject: [PATCH] first commit --- Dockerfile | 3 +++ build.gradle | 10 ++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e69de29..12784e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM bellsoft/liberica-openjre-alpine:17 +ADD ./build/libs/control-center-management-*.jar control-center-management.jar +ENTRYPOINT [ "java", "-jar", "/control-center-management.jar" ] \ No newline at end of file diff --git a/build.gradle b/build.gradle index 2ccfd7c..5a2eb95 100644 --- a/build.gradle +++ b/build.gradle @@ -16,10 +16,12 @@ repositories { } dependencies { - implementation 'org.springframework.boot:spring-boot-starter-data-mongodb-reactive' - implementation 'org.springframework.boot:spring-boot-starter-web' - testImplementation 'org.springframework.boot:spring-boot-starter-test' - testImplementation 'io.projectreactor:reactor-test' + implementation("org.springframework.boot:spring-boot-starter-web") { + exclude group: "org.springframework.boot", module: "spring-boot-starter-tomcat" + } + implementation("org.springframework.boot:spring-boot-starter-undertow") + implementation("org.springframework.boot:spring-boot-starter-data-mongodb") + testImplementation ("org.springframework.boot:spring-boot-starter-test") } tasks.named('test') {