From 886471d5dfb15efc4192d6701ee0be820f43851f Mon Sep 17 00:00:00 2001 From: DDonghyeo Date: Thu, 23 May 2024 18:34:54 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9Ddocs=20:=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Eureka/Dockerfile | 5 +++++ apiGateway-service/Dockerfile | 5 +++++ config-service/Dockerfile | 5 +++++ noti-service/Dockerfile | 5 +++++ user-service/Dockerfile | 5 +++++ weather-service/Dockerfile | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 Eureka/Dockerfile create mode 100644 apiGateway-service/Dockerfile create mode 100644 config-service/Dockerfile create mode 100644 noti-service/Dockerfile create mode 100644 user-service/Dockerfile create mode 100644 weather-service/Dockerfile diff --git a/Eureka/Dockerfile b/Eureka/Dockerfile new file mode 100644 index 00000000..119a7cac --- /dev/null +++ b/Eureka/Dockerfile @@ -0,0 +1,5 @@ +FROM openjdk:17-jdk + +ARG JAR_FILE=build/libs/*.jar +COPY ${JAR_FILE} app.jar +ENTRYPOINT ["java", "-Dspring.profiles.active=prod", "-Duser.timezone=Asia/Seoul" , "-jar", "app.jar"] diff --git a/apiGateway-service/Dockerfile b/apiGateway-service/Dockerfile new file mode 100644 index 00000000..119a7cac --- /dev/null +++ b/apiGateway-service/Dockerfile @@ -0,0 +1,5 @@ +FROM openjdk:17-jdk + +ARG JAR_FILE=build/libs/*.jar +COPY ${JAR_FILE} app.jar +ENTRYPOINT ["java", "-Dspring.profiles.active=prod", "-Duser.timezone=Asia/Seoul" , "-jar", "app.jar"] diff --git a/config-service/Dockerfile b/config-service/Dockerfile new file mode 100644 index 00000000..119a7cac --- /dev/null +++ b/config-service/Dockerfile @@ -0,0 +1,5 @@ +FROM openjdk:17-jdk + +ARG JAR_FILE=build/libs/*.jar +COPY ${JAR_FILE} app.jar +ENTRYPOINT ["java", "-Dspring.profiles.active=prod", "-Duser.timezone=Asia/Seoul" , "-jar", "app.jar"] diff --git a/noti-service/Dockerfile b/noti-service/Dockerfile new file mode 100644 index 00000000..119a7cac --- /dev/null +++ b/noti-service/Dockerfile @@ -0,0 +1,5 @@ +FROM openjdk:17-jdk + +ARG JAR_FILE=build/libs/*.jar +COPY ${JAR_FILE} app.jar +ENTRYPOINT ["java", "-Dspring.profiles.active=prod", "-Duser.timezone=Asia/Seoul" , "-jar", "app.jar"] diff --git a/user-service/Dockerfile b/user-service/Dockerfile new file mode 100644 index 00000000..119a7cac --- /dev/null +++ b/user-service/Dockerfile @@ -0,0 +1,5 @@ +FROM openjdk:17-jdk + +ARG JAR_FILE=build/libs/*.jar +COPY ${JAR_FILE} app.jar +ENTRYPOINT ["java", "-Dspring.profiles.active=prod", "-Duser.timezone=Asia/Seoul" , "-jar", "app.jar"] diff --git a/weather-service/Dockerfile b/weather-service/Dockerfile new file mode 100644 index 00000000..e96ea1dc --- /dev/null +++ b/weather-service/Dockerfile @@ -0,0 +1,5 @@ +\FROM openjdk:17-jdk + +ARG JAR_FILE=build/libs/*.jar +COPY ${JAR_FILE} app.jar +ENTRYPOINT ["java", "-Dspring.profiles.active=prod", "-Duser.timezone=Asia/Seoul" , "-jar", "app.jar"]