Skip to content

Commit

Permalink
chore: Dockerfile jar 파일 이름 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
whereami2048 committed May 2, 2024
1 parent 7e970e7 commit d6e38c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM amazoncorretto:17-alpine-jdk

# JAR_FILE 변수에 값을 저장
ARG JAR_FILE=/Api-Module/build/libs/Api-Module-0.0.1.jar
ARG JAR_FILE=/Api-Module/build/libs/Api-Module-0.0.1-SNAPSHOT.jar

# 변수에 저장된 것을 컨테이너 실행시 이름을 app.jar파일로 변경하여 컨테이너에 저장
COPY ${JAR_FILE} app.jar
Expand Down

0 comments on commit d6e38c8

Please sign in to comment.