soumyadipkarforma commited on
Commit
0fec9bd
·
verified ·
1 Parent(s): e9dffc9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -7
Dockerfile CHANGED
@@ -1,12 +1,10 @@
1
  FROM node:18-slim
2
 
3
- # Install the GitHub MCP server
4
- RUN npm install -g @modelcontextprotocol/server-github
5
 
6
- # Set the port for Hugging Face Spaces
7
- ENV PORT=7860
8
  EXPOSE 7860
9
 
10
- # This command starts the server specifically in SSE mode for the web
11
- ENTRYPOINT ["npx", "-y", "@modelcontextprotocol/server-github"]
12
- CMD ["--sse"]
 
1
  FROM node:18-slim
2
 
3
+ # Install the GitHub server and the MCP-Proxy bridge
4
+ RUN npm install -g @modelcontextprotocol/server-github @mcp-proxy/server
5
 
6
+ # Hugging Face default port
 
7
  EXPOSE 7860
8
 
9
+ # This bridge starts the github server and translates it to SSE for Hugging Chat
10
+ ENTRYPOINT ["mcp-proxy", "--port", "7860", "npx", "-y", "@modelcontextprotocol/server-github"]