From 120c8d7090094db1ff77bf1acda91fe898bf0e67 Mon Sep 17 00:00:00 2001 From: Carlos Barbero Date: Tue, 27 Jan 2026 08:43:56 -0300 Subject: [PATCH] fix: resolve docker build error by installing diagrams from PyPI --- mcp-server/Dockerfile | 5 ++--- mcp-server/requirements.txt | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mcp-server/Dockerfile b/mcp-server/Dockerfile index 9d2eb83f..cb926710 100644 --- a/mcp-server/Dockerfile +++ b/mcp-server/Dockerfile @@ -14,9 +14,8 @@ WORKDIR /app # Copy the current directory (which contains the diagrams library source and our server code) COPY . /app -# Install the diagrams library from source (current dir) and other requirements -# We install 'mcp' explicitly as it might not be in the local repo's requirements -RUN pip install --no-cache-dir . mcp +# Install dependencies +RUN pip install --no-cache-dir -r requirements.txt # Create an output directory for persistence if volume is mounted RUN mkdir -p /app/output diff --git a/mcp-server/requirements.txt b/mcp-server/requirements.txt index af278fdb..b4f267b2 100644 --- a/mcp-server/requirements.txt +++ b/mcp-server/requirements.txt @@ -1,2 +1,3 @@ mcp +diagrams graphviz