From cbcced49a2a00c01266960e5ecde529a91769ab3 Mon Sep 17 00:00:00 2001 From: Minsu Kim <86006389+minsu20@users.noreply.github.com> Date: Sat, 2 Dec 2023 22:08:29 +0900 Subject: [PATCH] deploy: Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 02af7eb..dedeff4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM openjdk:17-jdk -ARG JAR_FILE=./build/libs/backend-0.0.1-SNAPSHOT.jar +ARG JAR_FILE=./backend/build/libs/backend-0.0.1-SNAPSHOT.jar COPY ${JAR_FILE} app.jar # 문서를 이미지의 /static/docs 디렉토리에 복사 -COPY ./build/docs/asciidoc/*.html /static/docs/ +COPY ./backend/build/docs/asciidoc/*.html /static/docs/ # 애플리케이션 실행 시 -cp 옵션을 사용하여 /static/docs 디렉토리를 클래스패스에 추가 ENTRYPOINT ["java","-cp",".:/static/docs","-jar","/app.jar"]