fix: update discourse-mcp to use Node.js 24 alpine image

- Changed from build context to using node:24-alpine image directly
- Updated discourse-mcp Dockerfile to node:24-alpine
- Changed npm ci to npm install in Dockerfile
- Added note about npx usage due to TypeScript compilation errors in 0.2.4
This commit is contained in:
2026-01-21 20:15:14 -05:00
parent f1c4c25661
commit 926f513ef1
2 changed files with 5 additions and 6 deletions

View File

@@ -221,10 +221,9 @@ services:
# ========================================== # ==========================================
# Discourse MCP - Forum integration # Discourse MCP - Forum integration
# Note: Using npx directly due to TypeScript compilation errors in 0.2.4
discourse-mcp: discourse-mcp:
build: image: node:24-alpine
context: ./vendor/discourse-mcp
dockerfile: Dockerfile
container_name: KNELDevStack-AIMiddleware-discourse-mcp container_name: KNELDevStack-AIMiddleware-discourse-mcp
restart: unless-stopped restart: unless-stopped
environment: environment:

View File

@@ -1,10 +1,10 @@
FROM node:22-alpine FROM node:24-alpine
WORKDIR /app WORKDIR /app
COPY package.json package-lock.json* ./ COPY package.json ./
RUN npm ci RUN npm install
COPY . . COPY . .