#26 pharmacy: docker - single container

This commit is contained in:
haerong22
2022-12-10 22:29:18 +09:00
parent 6a1d2828b5
commit 20ab448366
2 changed files with 9 additions and 0 deletions

5
road/Dockerfile Normal file
View File

@@ -0,0 +1,5 @@
FROM openjdk:11
ARG JAR_FILE=build/libs/app.jar
COPY ${JAR_FILE} ./app.jar
ENV TZ=Asia/Seoul
ENTRYPOINT ["java", "-jar", "./app.jar"]

View File

@@ -14,6 +14,10 @@ configurations {
} }
} }
bootJar {
archiveFileName = "app.jar"
}
repositories { repositories {
mavenCentral() mavenCentral()
} }