We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f214784 commit 0371e80Copy full SHA for 0371e80
Dockerfile
@@ -1,8 +1,9 @@
1
FROM node:22-alpine
2
-RUN addgroup -S mcp && adduser -S mcp -G mcp
+RUN addgroup -S mcp && adduser -S mcp -G mcp && chown -R mcp:mcp /usr/local/lib/node_modules
3
+RUN npm install -g mongodb-mcp-server@${VERSION}
4
USER mcp
5
+WORKDIR /home/mcp
6
ARG VERSION=latest
-RUN npm install -g mongodb-mcp-server@${VERSION}
7
ENTRYPOINT ["mongodb-mcp-server"]
8
LABEL maintainer="MongoDB Inc <[email protected]>"
9
LABEL description="MongoDB MCP Server"
0 commit comments