build(docker): 서비스 별로 Dockerfile 생성
This commit is contained in:
4
config-service/Dockerfile
Normal file
4
config-service/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM openjdk:11
|
||||
VOLUME /tmp/Users/sangbum/Desktop/git-repository/just-pickup/docker-compose.yml
|
||||
COPY build/libs/config-service-1.0.jar ConfigService.jar
|
||||
ENTRYPOINT ["java", "-jar", "ConfigService.jar"]
|
||||
@@ -5,7 +5,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = 'com.just-pickup'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
version = '1.0'
|
||||
sourceCompatibility = '11'
|
||||
|
||||
repositories {
|
||||
|
||||
4
customer-apigateway-service/Dockerfile
Normal file
4
customer-apigateway-service/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM openjdk:11
|
||||
VOLUME /tmp
|
||||
COPY build/libs/customer-apigateway-service-1.0.jar CustomerApiGatewayService.jar
|
||||
ENTRYPOINT ["java", "-jar", "CustomerApiGatewayService.jar"]
|
||||
@@ -5,7 +5,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = 'com.just-pickup'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
version = '1.0'
|
||||
sourceCompatibility = '11'
|
||||
|
||||
configurations {
|
||||
|
||||
4
discovery-service/Dockerfile
Normal file
4
discovery-service/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM openjdk:11
|
||||
VOLUME /tmp
|
||||
COPY build/libs/discovery-service-1.0.jar DiscoveryService.jar
|
||||
ENTRYPOINT ["java", "-jar", "DiscoveryService.jar"]
|
||||
@@ -5,7 +5,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = 'com.just-pickup'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
version = '1.0'
|
||||
sourceCompatibility = '11'
|
||||
|
||||
repositories {
|
||||
|
||||
4
notification-service/Dockerfile
Normal file
4
notification-service/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM openjdk:11
|
||||
VOLUME /tmp
|
||||
COPY build/libs/notification-service-1.0.jar NotificationService.jar
|
||||
ENTRYPOINT ["java", "-jar", "NotificationService.jar"]
|
||||
@@ -6,7 +6,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = 'com.just-pickup'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
version = '1.0'
|
||||
sourceCompatibility = '11'
|
||||
|
||||
configurations {
|
||||
|
||||
4
order-service/Dockerfile
Normal file
4
order-service/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM openjdk:11
|
||||
VOLUME /tmp
|
||||
COPY build/libs/order-service-1.0.jar OrderService.jar
|
||||
ENTRYPOINT ["java", "-jar", "OrderService.jar"]
|
||||
@@ -6,7 +6,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = 'com.just-pickup'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
version = '1.0'
|
||||
sourceCompatibility = '11'
|
||||
configurations {
|
||||
compileOnly {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
server:
|
||||
port: 54329
|
||||
port: 0
|
||||
|
||||
spring:
|
||||
application:
|
||||
|
||||
4
owner-apigateway-service/Dockerfile
Normal file
4
owner-apigateway-service/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM openjdk:11
|
||||
VOLUME /tmp
|
||||
COPY build/libs/owner-apigateway-service-1.0.jar OwnerApiGatewayService.jar
|
||||
ENTRYPOINT ["java", "-jar", "OwnerApiGatewayService.jar"]
|
||||
@@ -5,7 +5,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = 'com.just-pickup'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
version = '1.0'
|
||||
sourceCompatibility = '11'
|
||||
|
||||
configurations {
|
||||
|
||||
4
store-service/Dockerfile
Normal file
4
store-service/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM openjdk:11
|
||||
VOLUME /tmp
|
||||
COPY build/libs/store-service-1.0.jar StoreService.jar
|
||||
ENTRYPOINT ["java", "-jar", "StoreService.jar"]
|
||||
@@ -6,7 +6,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = 'com.just-pickup'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
version = '1.0'
|
||||
sourceCompatibility = '11'
|
||||
configurations {
|
||||
compileOnly {
|
||||
|
||||
4
user-service/Dockerfile
Normal file
4
user-service/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM openjdk:11
|
||||
VOLUME /tmp
|
||||
COPY build/libs/user-service-1.0.jar UserService.jar
|
||||
ENTRYPOINT ["java", "-jar", "UserService.jar"]
|
||||
@@ -6,7 +6,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = 'com.just-pickup'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
version = '1.0'
|
||||
sourceCompatibility = '11'
|
||||
|
||||
configurations {
|
||||
@@ -55,8 +55,6 @@ dependencies {
|
||||
testImplementation 'org.springframework.security:spring-security-test'
|
||||
testImplementation 'com.h2database:h2'
|
||||
|
||||
testImplementation 'org.springframework.security:spring-security-test'
|
||||
|
||||
testImplementation 'org.springframework.restdocs:spring-restdocs-mockmvc'
|
||||
// operation block 을 위한 의존성
|
||||
asciidoctorExtensions 'org.springframework.restdocs:spring-restdocs-asciidoctor'
|
||||
|
||||
Reference in New Issue
Block a user