From 660e30a89c8efbe89d8441e2672c9fbe1da44283 Mon Sep 17 00:00:00 2001 From: aleksUIX Date: Thu, 9 Jul 2026 20:12:51 -0700 Subject: [PATCH] Add Dockerfile for MCP server (Glama evaluation) --- .dockerignore | 2 ++ Dockerfile | 13 +++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..3ea0852 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +target/ +.git/ diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0e45f2a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +# Builds the rtblint MCP server. Glama's evaluator starts this container and +# sends an MCP `initialize` request over stdio; the binary answers, which is +# all that's needed to pass the introspection check and earn a quality score. + +FROM rust:1.83-slim AS build +WORKDIR /src +COPY . . +RUN cargo build --release -p rtblint-mcp + +FROM debian:bookworm-slim +COPY --from=build /src/target/release/rtblint-mcp /usr/local/bin/rtblint-mcp +# The server speaks MCP over stdio (newline-delimited JSON-RPC). +ENTRYPOINT ["rtblint-mcp"]