23 lines
546 B
Docker
23 lines
546 B
Docker
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
|
|
FROM node:lts-alpine@sha256:9bef0ef1e268f60627da9ba7d7605e8831d5b56ad07487d24d1aa386336d1944
|
|
|
|
# Create app directory
|
|
WORKDIR /app
|
|
|
|
# Copy package files
|
|
COPY package.json package-lock.json ./
|
|
|
|
# Install dependencies without running prepare scripts
|
|
RUN npm install --ignore-scripts
|
|
|
|
# Copy rest of the source code
|
|
COPY . .
|
|
|
|
# Build the project
|
|
RUN npm run build
|
|
|
|
# Expose the port for HTTP mode (if used)
|
|
EXPOSE 3000
|
|
|
|
# Start the MCP server
|
|
CMD [ "npm", "start" ]
|