There was an error while loading. Please reload this page.
1 parent 50b99d9 commit eeb42cdCopy full SHA for eeb42cd
Dockerfile
@@ -1,9 +1,6 @@
1
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
2
FROM golang:alpine AS builder
3
4
-# Install git for module fetching
5
-RUN apk add --no-cache git
6
-
7
WORKDIR /app
8
9
# Cache Go modules
@@ -26,5 +23,5 @@ COPY --from=builder /app/mcp-filesystem-server ./
26
23
# Create a directory that will be used as allowed directory
27
24
RUN mkdir -p /app
28
25
29
-# CMD to run the MCP server
30
-CMD ["./mcp-filesystem-server"]
+ENTRYPOINT ["./mcp-filesystem-server"]
+CMD ["/app"]
smithery.yaml
@@ -30,4 +30,4 @@ startCommand:
}
31
exampleConfig:
32
allowedDirectories:
33
- - /app
+ - /app
0 commit comments