File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ COPY cs25-common cs25-common/
1212
1313# 테스트 생략하여 빌드 안정화
1414RUN ./gradlew :cs25-service:bootJar --stacktrace --no-daemon
15- FROM openjdk :17
15+ FROM eclipse-temurin :17-jre-jammy
1616
1717# 메타 정보
1818LABEL type="application" module="cs25-service"
@@ -21,12 +21,17 @@ LABEL type="application" module="cs25-service"
2121WORKDIR /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/*
34+
3035
3136# jar 복사
3237COPY --from=builder /build/cs25-service/build/libs/*.jar app.jar
You can’t perform that action at this time.
0 commit comments