Skip to content

Commit fefca4b

Browse files
wannabeingKsr-ccbcoderabbitai[bot]jong-0126crocusia
authored
10차배포 - 8 (#370)
* chore: MCP 도입할 때 필요한 npx 패키지 적용 (#367) * chore: MCP 도입할 때 필요한 npx 패키지 적용 * chore: 부팅 시 외부 프로세스 미실행 (요청 시 연결) * chore: 런타임베이스이미지를 Ubuntu 계열로 변경하여 apt-get 명령어가 동작할 수 있게 변경 (#369) --------- Co-authored-by: Ksr-ccb <harang4282@gmail.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: baegjonghyeon <baek011226@naver.com> Co-authored-by: Baek jonghyun <69610809+jong-0126@users.noreply.github.com> Co-authored-by: crocusia <132359536+crocusia@users.noreply.github.com> Co-authored-by: Kimyoonbeom <101162650+Kimyoonbeom@users.noreply.github.com> Co-authored-by: HeeMang-Lee <hemsej018@naver.com> Co-authored-by: Kimyoonbeom <kimybeom@naver.com> Co-authored-by: crocusia <rainbowsubin0522@gmail.com>
1 parent 30f94ef commit fefca4b

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

cs25-service/Dockerfile

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ COPY cs25-common cs25-common/
1212

1313
# 테스트 생략하여 빌드 안정화
1414
RUN ./gradlew :cs25-service:bootJar --stacktrace --no-daemon
15-
FROM openjdk:17
15+
FROM eclipse-temurin:17-jre-jammy
1616

1717
# 메타 정보
1818
LABEL type="application" module="cs25-service"
@@ -21,12 +21,16 @@ LABEL type="application" module="cs25-service"
2121
WORKDIR /apps
2222

2323
# Node.js + npm 설치 후, MCP 서버 전역 설치
24-
RUN apt-get update && apt-get install -y curl ca-certificates gnupg \
25-
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
26-
&& apt-get install -y nodejs \
27-
&& npm install -g @modelcontextprotocol/server-brave-search \
28-
&& node -v && npm -v && which server-brave-search \
29-
&& apt-get clean && rm -rf /var/lib/apt/lists/*
24+
RUN apt-get update \
25+
&& apt-get install -y --no-install-recommends curl ca-certificates gnupg bash \
26+
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
27+
&& apt-get install -y --no-install-recommends nodejs \
28+
&& npm install -g @modelcontextprotocol/server-brave-search \
29+
&& npm cache clean --force \
30+
&& apt-get purge -y gnupg \
31+
&& apt-get autoremove -y --purge \
32+
&& apt-get clean \
33+
&& rm -rf /var/lib/apt/lists/*
3034

3135
# jar 복사
3236
COPY --from=builder /build/cs25-service/build/libs/*.jar app.jar

0 commit comments

Comments
 (0)