Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nareunhang authored Oct 29, 2024
1 parent d58c83c commit 5f85a12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ENV PATH=${GRADLE_HOME}/bin:${PATH}
WORKDIR /app

# GitHub Actions에서 빌드된 JAR 파일만 복사
COPY build/libs/McpBackend-Terraform-0.0.1-SNAPSHOT.jar /app/app.jar
COPY build/libs/McpBackend-Terraform-0.0.1-SNAPSHOT.jar McpBackend-Terraform-0.0.1-SNAPSHOT.jar

# 기본 셸을 bash로 설정
SHELL ["/bin/bash", "-c"]
Expand All @@ -45,4 +45,4 @@ SHELL ["/bin/bash", "-c"]
CMD ["/bin/bash"]

# 6. 애플리케이션을 실행할 명령어
ENTRYPOINT ["java", "-jar", "/app/app.jar"]
ENTRYPOINT ["java", "-jar", "McpBackend-Terraform-0.0.1-SNAPSHOT.jar"]

0 comments on commit 5f85a12

Please sign in to comment.