Skip to content

Commit 554cea2

Browse files
committed
fix: reduce permissions
1 parent 63a234d commit 554cea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM node:22-alpine
2-
RUN addgroup -S mcp && adduser -S mcp -G mcp && chown -R mcp:mcp /usr/local/lib/node_modules
2+
RUN addgroup -S mcp && adduser -S mcp -G mcp
33
RUN npm install -g mongodb-mcp-server@${VERSION}
44
USER mcp
55
WORKDIR /home/mcp

0 commit comments

Comments
 (0)