Switch default port from 3000 to 3045 in Dockerfile and docker-compose. Add MCP instructions to server for AI client guidance. Update README to reflect cloud-hosted model with per-user headers, 42 tools, and session management. Add .mcp.json to .gitignore to prevent leaking credentials. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
25 lines
408 B
Docker
25 lines
408 B
Docker
FROM node:22-alpine AS builder
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json package-lock.json ./
|
|
RUN npm ci --ignore-scripts
|
|
|
|
COPY tsconfig.json ./
|
|
COPY src/ ./src/
|
|
RUN npx tsc
|
|
|
|
FROM node:22-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json package-lock.json ./
|
|
RUN npm ci --omit=dev --ignore-scripts && npm cache clean --force
|
|
|
|
COPY --from=builder /app/dist ./dist
|
|
|
|
ENV PORT=3045
|
|
EXPOSE 3045
|
|
|
|
CMD ["node", "dist/http-server.js"]
|