Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions cs25-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@ COPY cs25-entity cs25-entity/
COPY cs25-common cs25-common/

# 테스트 생략하여 빌드 안정화
# (빌드 시 MCP 비활성화 + gradlew 실행 권한 + 테스트 스킵)
ENV SPRING_AI_MCP_CLIENT_ENABLED=false \
SPRING_AI_MCP_CLIENT_INITIALIZED=false
RUN chmod +x ./gradlew
RUN ./gradlew :cs25-service:bootJar --stacktrace --no-daemon -x test

RUN ./gradlew :cs25-service:bootJar --stacktrace --no-daemon
FROM eclipse-temurin:17-jre-jammy

# 메타 정보
Expand All @@ -30,10 +25,7 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends curl ca-certificates gnupg bash \
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y --no-install-recommends nodejs \
&& npm install -g @modelcontextprotocol/server-brave-search@0.2.1 \
&& ln -sf "$(npm root -g)/.bin/server-brave-search" /usr/local/bin/server-brave-search \
&& chmod +x /usr/local/bin/server-brave-search \
&& /usr/local/bin/server-brave-search --help || true \
&& npm install -g @modelcontextprotocol/server-brave-search \
&& npm cache clean --force \
&& apt-get purge -y gnupg \
&& apt-get autoremove -y --purge \
Expand Down