Skip to content

Commit

Permalink
Merge pull request #2 from heli-os/fix/docker-build
Browse files Browse the repository at this point in the history
fix: Add docker build
  • Loading branch information
Taeyang Jin (Heli) authored Aug 20, 2022
2 parents b727f37 + a4fe446 commit eaaede4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions application/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 []
2 changes: 2 additions & 0 deletions application/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
apply(from = "../docker-build.gradle")

dependencies {
implementation(project(":commons:model"))
implementation(project(":commons:persistence-database"))
Expand Down

0 comments on commit eaaede4

Please sign in to comment.