We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 722d2d0 commit 4404364Copy full SHA for 4404364
Dockerfile
@@ -4,7 +4,7 @@ FROM openjdk:17-jdk-slim
4
WORKDIR /app
5
6
# jar 파일을 동적으로 복사 (빌드 시 파일명을 고정하지 않아도 됨)
7
-COPY build/libs/*.jar app.jar
+COPY build/libs/codetest-0.0.1-SNAPSHOT.jar app.jar
8
9
# 환경변수를 외부에서 넣을 수 있게 ENTRYPOINT 사용
10
ENTRYPOINT ["java", "-jar", "app.jar"]
0 commit comments