mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 01:30:33 +00:00
18 lines
310 B
Docker
18 lines
310 B
Docker
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/
|
|
|
|
RUN apt-get update && apt-get install -y ca-certificates && update-ca-certificates
|
|
|
|
ENTRYPOINT ["/app/rustfs-mcp"]
|