Skip to content

Commit

Permalink
cd: Dockerfile 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
csct3434 committed Oct 25, 2024
1 parent a2f9c78 commit 5597c42
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM openjdk:17-jdk
ARG JAR_FILE=build/libs/temp-0.0.1-SNAPSHOT.jar
EXPOSE 8080
ADD ${JAR_FILE} app.jar
ENTRYPOINT ["java","-Dspring.profiles.active=prod","-jar","/app.jar"]

0 comments on commit 5597c42

Please sign in to comment.