From 8932a5868c1350d632d513535a6e228e61ebd3e3 Mon Sep 17 00:00:00 2001 From: Boris Arzentar Date: Wed, 26 Feb 2025 20:25:26 +0100 Subject: [PATCH] fix: add missing system dependencies --- cognee-mcp/Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/cognee-mcp/Dockerfile b/cognee-mcp/Dockerfile index 1aebbf255..33b6a86c1 100644 --- a/cognee-mcp/Dockerfile +++ b/cognee-mcp/Dockerfile @@ -17,7 +17,6 @@ ENV UV_COMPILE_BYTECODE=1 # Copy from the cache instead of linking since it's a mounted volume ENV UV_LINK_MODE=copy - # Install the project's dependencies using the lockfile and settings RUN --mount=type=cache,target=/root/.cache/uv \ --mount=type=bind,source=uv.lock,target=uv.lock \ @@ -30,11 +29,11 @@ ADD . /app RUN --mount=type=cache,target=/root/.cache/uv \ uv sync --frozen --no-dev --no-editable -# RUN apt-get update && apt-get install +RUN apt-get update && apt-get install -# RUN apt-get install -y \ -# gcc \ -# libpq-dev +RUN apt-get install -y \ + gcc \ + libpq-dev FROM python:3.12-slim-bookworm