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