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