mirror of
https://github.com/thedaviddias/mcp-llms-txt-explorer.git
synced 2025-10-19 03:17:32 +03:00
26 lines
581 B
Docker
26 lines
581 B
Docker
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
|
|
FROM node:lts-alpine
|
|
|
|
# Create app directory
|
|
WORKDIR /app
|
|
|
|
# Install pnpm
|
|
RUN npm install -g pnpm
|
|
|
|
# Copy package files
|
|
COPY package.json pnpm-lock.yaml ./
|
|
|
|
# Install dependencies without running prepare scripts (we run build explicitly)
|
|
RUN pnpm install --frozen-lockfile --ignore-scripts
|
|
|
|
# Copy rest of the source
|
|
COPY . .
|
|
|
|
# Build the project
|
|
RUN pnpm run build
|
|
|
|
# Expose any necessary port if needed, but MCP uses stdio so not required
|
|
|
|
# Set the entry point
|
|
CMD [ "node", "build/index.js" ]
|