Cororection bug
This commit is contained in:
1 parent
662003fdd3
commit
ef6bc71b36
4 files changed
+41
-5
No files matched your search
+7
-3
@@ -3,17 +3,21 @@ WORKDIR /app
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
python3 build-essential \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
COPY package.json package-lock.json* ./
|
||||
COPY backend/package.json backend/package-lock.json* ./
|
||||
RUN npm install --omit=dev
|
||||
|
||||
FROM node:20-bookworm-slim
|
||||
WORKDIR /app
|
||||
ENV NODE_ENV=production
|
||||
COPY --from=deps /app/node_modules ./node_modules
|
||||
COPY . .
|
||||
COPY backend/. .
|
||||
# src/ai/mcpBridge.js importe "../../../mcp-server/tools.js" (réutilisation
|
||||
# telle quelle du code d'outillage du serveur MCP externe) — on reproduit
|
||||
# donc ici la même position relative : /mcp-server à côté de /app.
|
||||
COPY mcp-server/tools.js /mcp-server/tools.js
|
||||
RUN mkdir -p /app/data /app/uploads && cp -r /app/icons_seed /app/icons_seed_init
|
||||
|
||||
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
|
||||
COPY backend/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
|
||||
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
||||
|
||||
EXPOSE 4000
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
"dependencies": {
|
||||
"@anthropic-ai/sdk": "^0.123.0",
|
||||
"@modelcontextprotocol/sdk": "^1.30.0",
|
||||
"@mozilla/readability": "^0.6.0",
|
||||
"bcryptjs": "^2.4.3",
|
||||
"better-sqlite3": "^12.11.1",
|
||||
"cors": "^2.8.5",
|
||||
@@ -20,6 +21,7 @@
|
||||
"express": "^4.19.2",
|
||||
"express-rate-limit": "^7.4.0",
|
||||
"helmet": "^7.1.0",
|
||||
"jsdom": "^29.1.1",
|
||||
"jsonwebtoken": "^9.0.2",
|
||||
"morgan": "^1.10.0",
|
||||
"multer": "^1.4.5-lts.1",
|
||||
|
||||
Reference in new issue
Block a user