Skip to content

Commit

Permalink
Merge pull request #13 from kakao-tech-campus-2nd-step3/weekly
Browse files Browse the repository at this point in the history
Dockerfile 작성
donghyuun authored Sep 21, 2024
2 parents 00c67e0 + 9b3ec8f commit 1f35d2f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 도커 이미지를 빌드할 때 필요한 커맨드를 가짐

# jdk21 image start
FROM openjdk:21

# 인자 설정 - JAR_File
ARG JAR_FILE=build/libs/*.jar

# jar 파일 복제
COPY ${JAR_FILE} app.jar

# 실행 명령어
ENTRYPOINT ["java", "-jar", "app.jar"]

0 comments on commit 1f35d2f

Please sign in to comment.