BrainAPI is a knowledge graph–powered AI memory layer that transforms unstructured data into structured knowledge, enabling intelligent search, recommendations, and contextual memory for AI agents and applications.
Python ai-agentsai-memoryknowledge-graphknowledge-managementknowledge-representationreccomendation-system
ci(Dockerfile): fix optional docling deps syntax
Christian77d368599958
diff --git a/Dockerfile b/Dockerfileindex 63f5a02..3c3d066 100644--- a/Dockerfile+++ b/Dockerfile@@ -26,15 +26,10 @@ WORKDIR /appCOPY pyproject.toml poetry.lock ./RUN poetry sync --no-root \- && /app/.venv/bin/python -c "\-import subprocess, torch; \-pkgs = [f'torch=={torch.__version__.split(chr(43))[0]}']; \-try: \- import torchvision; \- pkgs.append(f'torchvision=={torchvision.__version__.split(chr(43))[0]}'); \-except ModuleNotFoundError: \- pass; \-subprocess.check_call(['/app/.venv/bin/pip', 'install', '--no-cache-dir', '--no-deps', '--force-reinstall', *pkgs, '--index-url', 'https://download.pytorch.org/whl/cpu'])" \+ && TORCH_VER=$(/app/.venv/bin/python -c "import torch; print(torch.__version__.split('+')[0])") \+ && /app/.venv/bin/pip install --no-cache-dir --no-deps --force-reinstall \+ "torch==${TORCH_VER}" \+ --index-url https://download.pytorch.org/whl/cpu \&& rm -rf /root/.cache /tmp/*COPY src/ ./src/