soumyadipkarforma commited on
Commit
39ee3e0
·
verified ·
1 Parent(s): 4ed7b10

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -3
Dockerfile CHANGED
@@ -1,4 +1,9 @@
1
  FROM node:18-slim
2
- RUN npm install -g @modelcontextprotocol/server-github
3
- # For the GitHub Space
4
- ENTRYPOINT ["npx", "-y", "@modelcontextprotocol/server-github", "--sse"]
 
 
 
 
 
 
1
  FROM node:18-slim
2
+ # Install the GitHub server and an MCP proxy to handle the SSE web connection
3
+ RUN npm install -g @modelcontextprotocol/server-github @punkpeye/mcp-proxy
4
+
5
+ # Use port 7860 (Hugging Face's default port)
6
+ EXPOSE 7860
7
+
8
+ # The proxy starts the GitHub server and exposes it on the web port
9
+ ENTRYPOINT ["mcp-proxy", "--port", "7860", "npx", "-y", "@modelcontextprotocol/server-github"]