fix: remove double install step from Dockerfile

This commit is contained in:
Boris Arzentar 2025-03-11 16:41:12 +01:00
parent a74c96609f
commit 3f69234776
3 changed files with 8 additions and 7 deletions

View file

@ -20,15 +20,16 @@ RUN apt-get update && apt-get install -y \
gcc \
libpq-dev
RUN apt-get install -y \
gcc \
libpq-dev
COPY . /app
RUN uv sync --reinstall
# Place executables in the environment at the front of the path
ENV PATH="/app/:/app/.venv/bin:$PATH"
ENV PATH="/app:/app/.venv/bin:$PATH"
# Set environment variables for MCP server
ENV PYTHONUNBUFFERED=1
ENV MCP_LOG_LEVEL=DEBUG
ENV PYTHONPATH=/app
ENTRYPOINT ["cognee"]

View file

@ -82,5 +82,5 @@ http://localhost:5173?timeout=120000
To apply new changes while developing cognee you need to do:
1. `poetry lock` in cognee folder
2. `uv sync --dev --all-extras --reinstall `
2. `uv sync --dev --all-extras --reinstall`
3. `mcp dev src/server.py`

View file

@ -1,6 +1,6 @@
[project]
name = "cognee-mcp"
version = "0.1.0"
version = "0.2.0"
description = "A MCP server project"
readme = "README.md"
requires-python = ">=3.10"