Skip to content

Commit

Permalink
chore : dockerFile 작성 (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
zuminzi committed Oct 8, 2023
1 parent 4e2dada commit 5f93475
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions 4Week_Mission/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM openjdk:11-jdk
ARG JAR_FILE=builds/libs/1Week_Mission-0.0.1-SNAPSHOT.jar
COPY ${JAR_FILE} app.jar
EXPOSE 8080
ENTRYPOINT ["java", "-Dspring.profiles.active=docker", "-jar", "app.jar"]
3 changes: 3 additions & 0 deletions 4Week_Mission/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,6 @@ dependencies {
tasks.named('test') {
useJUnitPlatform()
}
jar {
enabled = false
}
4 changes: 4 additions & 0 deletions 4Week_Mission/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
server:
port: 8080
servlet:
context-path: /
spring:
profiles:
active: dev
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
//
// // THEN
// resultActions
// .andExpect(status().is3xxRedirection())
//
// .andExpect(status().is3xxRedirection())
// .andExpect(handler().handlerType(MemberController.class))
// .andExpect(handler().methodName("join"))
// .andExpect(redirectedUrlPattern("/member/login?msg=**"));
Expand Down

0 comments on commit 5f93475

Please sign in to comment.