diff --git a/layer-api/Dockerfile b/layer-api/Dockerfile index 665bfa0..fad6a58 100644 --- a/layer-api/Dockerfile +++ b/layer-api/Dockerfile @@ -2,10 +2,11 @@ FROM openjdk:17 ARG JAR_FILE=./build/libs/*.jar ARG SPRING_PROFILE +ARG JAR_PATH=./build/libs COPY ${JAR_FILE} layer-server.jar RUN echo "jar exist" -RUN "ls ./build/libs" # jar가 존재하는지 확인 +RUN ls ${JAR_PATH} # jar가 존재하는지 확인 ENV SPRING_PROFILE=${SPRING_PROFILE}