Skip to content

Commit

Permalink
Merge pull request #23 from dongkyun0713/feature/docker
Browse files Browse the repository at this point in the history
Feat(#14): docker파일 추가
  • Loading branch information
dongkyun0713 authored Jul 16, 2024
2 parents 1da01b4 + af34f64 commit 0aeaaa6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM amazoncorretto:17
# FROM openjdk:17-jdk
ARG JAR_FILE=build/libs/*.jar

COPY ${JAR_FILE} kkeujeok-backend-0.0.1-SNAPSHOT.jar
# COPY build/libs/*.jar my-project.jar
ENTRYPOINT ["java","-jar","/kkeujeok-backend-0.0.1-SNAPSHOT.jar"]

RUN ln -snf /usr/share/zoneinfo/Asia/Seoul /etc/localtime

0 comments on commit 0aeaaa6

Please sign in to comment.