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