Update filesystem config for Docker
This commit is contained in:
parent
0b36cb4b54
commit
545103386f
2 changed files with 2 additions and 3 deletions
|
|
@ -22,6 +22,4 @@ ENV NODE_ENV=production
|
||||||
|
|
||||||
RUN npm ci --ignore-scripts --omit-dev
|
RUN npm ci --ignore-scripts --omit-dev
|
||||||
|
|
||||||
WORKDIR /projects
|
|
||||||
|
|
||||||
ENTRYPOINT ["node", "/app/dist/index.js"]
|
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=/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/other/allowed/dir,dst=/projects/other/allowed/dir,ro",
|
||||||
"--mount", "type=bind,src=/path/to/file.txt,dst=/projects/path/to/file.txt",
|
"--mount", "type=bind,src=/path/to/file.txt,dst=/projects/path/to/file.txt",
|
||||||
"ai/mcp-filesystem"
|
"ai/mcp-filesystem",
|
||||||
|
"/projects",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue