Skip to content

Commit

Permalink
Merge pull request #19 from kakao-tech-campus-2nd-step3/develop
Browse files Browse the repository at this point in the history
도커 파일 작성
donghyuun authored Sep 21, 2024
2 parents 3b3dc84 + e36b15a commit 097760f
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 097760f

Please sign in to comment.