build(docker): 서비스 별로 Dockerfile 생성
This commit is contained in:
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:
|
||||
|
||||
Reference in New Issue
Block a user