Skip to content

Commit e80d335

Browse files
Add Dockerfile
1 parent db934f4 commit e80d335

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Dockerfile

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
2+
FROM node:lts-alpine
3+
4+
WORKDIR /app
5+
6+
# Copy package.json and package-lock.json if available
7+
COPY package*.json ./
8+
9+
# Install dependencies (skip scripts so that postinstall does not mess up file permissions if any)
10+
RUN npm install --ignore-scripts
11+
12+
# Copy the rest of the project files
13+
COPY . .
14+
15+
# Make sure the entrypoint is executable
16+
RUN chmod +x index.js
17+
18+
# Expose necessary ports if any (MCP works on stdio so none required)
19+
20+
# Run the server
21+
CMD ["node", "index.js", "run"]

0 commit comments

Comments
 (0)