diff --git a/cognee-mcp/Dockerfile b/cognee-mcp/Dockerfile index 4d7d455ee..8efb7c46e 100644 --- a/cognee-mcp/Dockerfile +++ b/cognee-mcp/Dockerfile @@ -5,7 +5,7 @@ FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim AS uv WORKDIR /app # Enable bytecode compilation -ENV UV_COMPILE_BYTECODE=1 +# ENV UV_COMPILE_BYTECODE=1 # Copy from the cache instead of linking since it's a mounted volume ENV UV_LINK_MODE=copy @@ -27,8 +27,7 @@ FROM python:3.12-slim-bookworm WORKDIR /app COPY --from=uv /root/.local /root/.local -COPY --from=uv --chown=app:app /app/.venv /app/.venv -COPY --from=uv --chown=app:app /app/src /app/src +COPY --from=uv --chown=app:app /app /app # Place executables in the environment at the front of the path ENV PATH="/app/.venv/bin:$PATH"