File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
npm/kubernetes-mcp-server Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 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" ]
You can’t perform that action at this time.
0 commit comments