mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-02-19 11:54:58 -05:00
Update filesystem config for Docker
This commit is contained in:
@@ -22,6 +22,4 @@ ENV NODE_ENV=production
|
||||
|
||||
RUN npm ci --ignore-scripts --omit-dev
|
||||
|
||||
WORKDIR /projects
|
||||
|
||||
ENTRYPOINT ["node", "/app/dist/index.js"]
|
||||
@@ -123,7 +123,8 @@ Note: all directories must be mounted to `/projects` by default.
|
||||
"--mount", "type=bind,src=/Users/username/Desktop,dst=/projects/Desktop",
|
||||
"--mount", "type=bind,src=/path/to/other/allowed/dir,dst=/projects/other/allowed/dir,ro",
|
||||
"--mount", "type=bind,src=/path/to/file.txt,dst=/projects/path/to/file.txt",
|
||||
"ai/mcp-filesystem"
|
||||
"ai/mcp-filesystem",
|
||||
"/projects",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user