diff --git a/application/Dockerfile b/application/Dockerfile new file mode 100644 index 0000000..d1d029a --- /dev/null +++ b/application/Dockerfile @@ -0,0 +1,12 @@ +FROM azul/zulu-openjdk:11.0.15-11.56.19-jre-x86 +LABEL MAINTAINER="Heli" + +VOLUME /tmp +ARG JAR_FILE +COPY --chown=application:application ${JAR_FILE} application.jar + +ENV TZ=Asia/Seoul +EXPOSE 8080 + +ENTRYPOINT exec java $JAVA_POTS -jar ./application.jar +CMD [] diff --git a/application/build.gradle.kts b/application/build.gradle.kts index 2ac940e..de826ff 100644 --- a/application/build.gradle.kts +++ b/application/build.gradle.kts @@ -1,3 +1,5 @@ +apply(from = "../docker-build.gradle") + dependencies { implementation(project(":commons:model")) implementation(project(":commons:persistence-database"))