Skip to content

Commit

Permalink
[FIX] #167 - edit dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
woowang789 committed Sep 14, 2022
1 parent 253fd6a commit 4bb36b6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit 4bb36b6

Please sign in to comment.