commit 57752875f29189de7e456d84d135ba2f2fc4d057 Author: CREATIVE_tg1 <1+creative_tg1@noreply.localhost> Date: Wed May 20 22:10:30 2026 +0000 Добавить Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9b35b2f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM golang:1.24 AS builder + +WORKDIR /src +RUN apt-get update && apt-get install -y git make ca-certificates && rm -rf /var/lib/apt/lists/* +RUN git clone https://gitea.com/gitea/gitea-mcp.git . +RUN make build + +FROM debian:bookworm-slim +RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/* +COPY --from=builder /src/gitea-mcp /usr/local/bin/gitea-mcp + +EXPOSE 8080 +ENTRYPOINT ["gitea-mcp"] +CMD ["-t", "sse"] \ No newline at end of file