Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +5 -7
Dockerfile
CHANGED
|
@@ -1,12 +1,10 @@
|
|
| 1 |
FROM node:18-slim
|
| 2 |
|
| 3 |
-
# Install the GitHub MCP
|
| 4 |
-
RUN npm install -g @modelcontextprotocol/server-github
|
| 5 |
|
| 6 |
-
#
|
| 7 |
-
ENV PORT=7860
|
| 8 |
EXPOSE 7860
|
| 9 |
|
| 10 |
-
# This
|
| 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"]
|
|
|