docker copose

This commit is contained in:
jinho jeong
2022-04-27 14:34:42 +09:00
parent 2f53255ab0
commit f22e894a94
7 changed files with 103 additions and 35 deletions

5
Dockerfile Normal file
View File

@@ -0,0 +1,5 @@
FROM adoptopenjdk:11-jdk-hotspot
ARG JAR_FILE=build/libs/*.jar
COPY ${JAR_FILE} oneul.jar
ENTRYPOINT ["java", "-Dspring.profiles.active=prod", "-jar", "/oneul.jar"]