fix: move package installations to pnpm for consistency in Dockerfile

This commit is contained in:
samanhappy
2025-04-05 17:55:26 +08:00
parent ca2610cf1e
commit c269d5fbae

View File

@@ -9,7 +9,6 @@ RUN apt-get update && apt-get install -y curl gnupg \
RUN npm install -g pnpm
RUN npm install -g @amap/amap-maps-mcp-server @playwright/mcp@latest tavily-mcp@latest @modelcontextprotocol/server-github @modelcontextprotocol/server-slack
RUN pip install mcp-server-fetch
WORKDIR /app
@@ -17,6 +16,8 @@ WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN pnpm install
RUN pnpm install @amap/amap-maps-mcp-server @playwright/mcp@latest tavily-mcp@latest @modelcontextprotocol/server-github @modelcontextprotocol/server-slack
COPY . .
RUN pnpm build