Skip to content

Commit

Permalink
Merge pull request #195 from TeamDon-tBe/feat/#194
Browse files Browse the repository at this point in the history
[FEAT]Dockerfile Dev,Pord분리 및 생성
  • Loading branch information
Hong0329 authored May 1, 2024
2 parents cff0308 + 7da03a5 commit 39ba31b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DontBeServer/Dockerfile → DontBeServer/Dockerfile-Dev
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ WORKDIR /app

COPY ./build/libs/DontBeServer-0.0.1-SNAPSHOT.jar /app/dontbeServer.jar

CMD ["java", "-Duser.timezone=Asia/Seoul", "-jar", "-Dspring.profiles.active=local", "dontbeServer.jar"]
CMD ["java", "-Duser.timezone=Asia/Seoul", "-jar", "-Dspring.profiles.active=dev", "dontbeServer.jar"]
7 changes: 7 additions & 0 deletions DontBeServer/Dockerfile-Prod
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM amd64/amazoncorretto:17

WORKDIR /app

COPY ./build/libs/DontBeServer-0.0.1-SNAPSHOT.jar /app/dontbeServer.jar

CMD ["java", "-Duser.timezone=Asia/Seoul", "-jar", "-Dspring.profiles.active=prod", "dontbeServer.jar"]

0 comments on commit 39ba31b

Please sign in to comment.