This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git
The following commit(s) were added to refs/heads/main by this push:
new 9c5b5dbd fix npm command (#901)
9c5b5dbd is described below
commit 9c5b5dbdd793f01c25107cbfd6554a6b0f09d728
Author: Fine0830 <[email protected]>
AuthorDate: Wed Dec 17 22:01:17 2025 +0800
fix npm command (#901)
---
mcp/Dockerfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mcp/Dockerfile b/mcp/Dockerfile
index b5bef139..034e077c 100644
--- a/mcp/Dockerfile
+++ b/mcp/Dockerfile
@@ -23,7 +23,7 @@ WORKDIR /app
COPY package.json package-lock.json ./
# Install dependencies
-RUN npm ci --only=production=false
+RUN npm ci
# Copy source files
COPY tsconfig.json ./
@@ -45,7 +45,7 @@ RUN addgroup -g 1001 appuser && \
COPY package.json package-lock.json ./
# Install production dependencies only
-RUN npm ci --only=production && \
+RUN npm ci --omit=dev && \
npm cache clean --force
# Copy built files from builder stage