Update filesystem config for Docker

This commit is contained in:
colinmcneil
2024-12-19 13:19:34 -05:00
committed by Jim Clark
parent 0b36cb4b54
commit 545103386f
2 changed files with 2 additions and 3 deletions

View File

@@ -22,6 +22,4 @@ ENV NODE_ENV=production
RUN npm ci --ignore-scripts --omit-dev
WORKDIR /projects
ENTRYPOINT ["node", "/app/dist/index.js"]

View File

@@ -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",
]
}
}