feat: add docker usage for rustfs mcp (#365)

This commit is contained in:
majinghe
2025-08-08 17:18:20 +08:00
committed by GitHub
parent 67f1c371a9
commit c55c7a6373
2 changed files with 78 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
FROM rust:1.88 AS builder
WORKDIR /build
COPY . .
RUN cargo build --release -p rustfs-mcp
FROM debian:bookworm-slim
WORKDIR /app
COPY --from=builder /build/target/release/rustfs-mcp /app/
ENTRYPOINT ["/app/rustfs-mcp"]