Skip to content

Commit 24ca457

Browse files
Add Dockerfile
1 parent 7317fc0 commit 24ca457

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
2+
FROM node:18-alpine
3+
4+
# Create and set the working directory
5+
WORKDIR /app
6+
7+
# Copy the package.json and package-lock.json (if exists) to the working directory
8+
COPY ./npm/kubernetes-mcp-server/package.json /app
9+
10+
# Install any necessary dependencies specified in package.json
11+
RUN npm install --omit=dev
12+
13+
# Copy the rest of the application files
14+
COPY ./npm/kubernetes-mcp-server /app
15+
16+
# Expose the necessary port (replace 3000 with the actual port if different)
17+
EXPOSE 3000
18+
19+
# Define environment variables if any are needed
20+
# ENV SOME_VARIABLE=some_value
21+
22+
# Command to run the MCP server
23+
ENTRYPOINT ["node", "bin/index.js"]

0 commit comments

Comments
 (0)