Skip to content

Commit

Permalink
[feat] #137 - 도커파일에 GC 로그 출력 관련 설정, ECR에 푸시하는 명령 기타 필요없는 부분 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
odls authored and odls committed Dec 4, 2024
1 parent 227e158 commit 1d08793
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ WORKDIR /app
COPY build/libs/*.jar app.jar
EXPOSE 8080
ENV SPRING_PROFILES_ACTIVE=prod
ENTRYPOINT ["java","-jar","-Dspring.profiles.active=prod","app.jar"]
ENTRYPOINT ["java", \
"-verbose:gc", \
"-jar", \
"-Dspring.profiles.active=prod", \
"app.jar"]
2 changes: 1 addition & 1 deletion ecr_push.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
# ECR Push Script
docker tag wooribound/server:latest ${REGISTRY_URI}/wooribound:server-latest
docker push ${REGISTRY_URI}/wooribound:server-latest
docker push ${REGISTRY_URI}/wooribound:server-latest

0 comments on commit 1d08793

Please sign in to comment.