Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +8 -5
Dockerfile
CHANGED
|
@@ -1,9 +1,12 @@
|
|
| 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 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
EXPOSE 7860
|
| 7 |
|
| 8 |
-
#
|
| 9 |
-
ENTRYPOINT ["
|
|
|
|
|
|
| 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"]
|