Skip to content

Commit eeb42cd

Browse files
committed
update Dockerfile
1 parent 50b99d9 commit eeb42cd

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
22
FROM golang:alpine AS builder
33

4-
# Install git for module fetching
5-
RUN apk add --no-cache git
6-
74
WORKDIR /app
85

96
# Cache Go modules
@@ -26,5 +23,5 @@ COPY --from=builder /app/mcp-filesystem-server ./
2623
# Create a directory that will be used as allowed directory
2724
RUN mkdir -p /app
2825

29-
# CMD to run the MCP server
30-
CMD ["./mcp-filesystem-server"]
26+
ENTRYPOINT ["./mcp-filesystem-server"]
27+
CMD ["/app"]

smithery.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ startCommand:
3030
}
3131
exampleConfig:
3232
allowedDirectories:
33-
- /app
33+
- /app

0 commit comments

Comments
 (0)