fix: 프로젝트 최상위 각종 설정 파일(gradlew 등)에 잘못 추가되었던 프로퍼티 내용 완전 제거
This commit is contained in:
37
Dockerfile
37
Dockerfile
@@ -1,51 +1,30 @@
|
||||
# 1. 빌드 환경 (JDK 21)
|
||||
# 1. 鍮뚮뱶 ?섍꼍 (JDK 21)
|
||||
FROM eclipse-temurin:21-jdk-alpine AS builder
|
||||
WORKDIR /app
|
||||
|
||||
# Gradle 래í<EFBFBD>¼ì™€ 소스 복사
|
||||
# Gradle ?섑띁? ?뚯뒪 蹂듭궗
|
||||
COPY gradlew .
|
||||
COPY gradle gradle
|
||||
COPY build.gradle settings.gradle ./
|
||||
COPY src src
|
||||
|
||||
# 권한 부여 ë°<C3AB> 빌드 (테스트 ì œì™¸)
|
||||
# 沅뚰븳 遺??諛?鍮뚮뱶 (?뚯뒪???쒖쇅)
|
||||
RUN chmod +x gradlew
|
||||
RUN ./gradlew clean build -x test
|
||||
|
||||
# 2. 실행 환경 (JRE 21)
|
||||
# 2. ?ㅽ뻾 ?섍꼍 (JRE 21)
|
||||
FROM eclipse-temurin:21-jre-alpine
|
||||
WORKDIR /app
|
||||
|
||||
# 타임존 ì„¤ì • (í•œêµ ì‹œê°„)
|
||||
# ??꾩〈 ?ㅼ젙 (?쒓뎅 ?쒓컙)
|
||||
RUN apk add --no-cache tzdata
|
||||
ENV TZ=Asia/Seoul
|
||||
|
||||
# 빌드ë<EFBFBD>œ JAR 파ì<C592>¼ 복사
|
||||
# 鍮뚮뱶??JAR ?뚯씪 蹂듭궗
|
||||
COPY --from=builder /app/build/libs/*.jar app.jar
|
||||
|
||||
# 기본 í<>¬íЏ 노출
|
||||
# 湲곕낯 ?ы듃 ?몄텧
|
||||
EXPOSE 8081
|
||||
|
||||
# 컨테ì<EFBFBD>´ë„ˆ 실행 시 JAR 실행
|
||||
# 而⑦뀒?대꼫 ?ㅽ뻾 ??JAR ?ㅽ뻾
|
||||
ENTRYPOINT ["java", "-jar", "app.jar"]
|
||||
|
||||
# --- ½ÅÇѶóÀÌÇÁ EAI/MCI ¿¬°è IP Á¤º¸ (°³¹ß ȯ°æ) ---
|
||||
shinhan.integration.envrTypeCd=D
|
||||
shinhan.integration.eai.url=http://10.176.32.181
|
||||
shinhan.integration.internalMci.url=http://10.176.32.173
|
||||
shinhan.integration.bancaMci.url=http://10.176.32.117
|
||||
shinhan.integration.externalMci.url=http://10.176.32.176
|
||||
|
||||
# --- ½ÅÇѶóÀÌÇÁ EAI/MCI ¿¬°è IP Á¤º¸ (Å×½ºÆ® ȯ°æ) ---
|
||||
shinhan.integration.envrTypeCd=T
|
||||
shinhan.integration.eai.url=http://10.174.32.181
|
||||
shinhan.integration.internalMci.url=http://10.174.32.173
|
||||
shinhan.integration.bancaMci.url=http://10.174.32.117
|
||||
shinhan.integration.externalMci.url=http://10.176.32.177
|
||||
|
||||
# --- ½ÅÇѶóÀÌÇÁ EAI/MCI ¿¬°è IP Á¤º¸ (¿î¿µ ȯ°æ) ---
|
||||
shinhan.integration.envrTypeCd=R
|
||||
shinhan.integration.eai.url=http://10.172.32.181
|
||||
shinhan.integration.internalMci.url=http://10.172.32.173
|
||||
shinhan.integration.bancaMci.url=http://10.172.32.117
|
||||
shinhan.integration.externalMci.url=http://10.172.32.177
|
||||
|
||||
Reference in New Issue
Block a user