Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +8 -3
Dockerfile
CHANGED
|
@@ -1,4 +1,9 @@
|
|
| 1 |
FROM node:18-slim
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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"]
|