From 4bb36b64d272f0ca99aaeb4d30fe1569b14d5367 Mon Sep 17 00:00:00 2001 From: woowang789 Date: Wed, 14 Sep 2022 23:31:11 +0900 Subject: [PATCH] [FIX] #167 - edit dockerfile --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f14e3db1..8d2b689d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,7 @@ FROM openjdk:11-jdk-slim EXPOSE 8080 RUN mkdir "images" -COPY build build -#ARG JAR_FILE=/build/libs/matdongsan-0.0.1-SNAPSHOT.jar +ARG BUILD_DIR=/build VOLUME ["/var/log"] -#COPY ${JAR_FILE} app.jar +COPY ${BUILD_DIR} /build ENTRYPOINT ["java","-jar","-Dspring.profiles.active=prod","/build/libs/matdongsan-0.0.1-SNAPSHOT.jar"] \ No newline at end of file