Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Update dockerfile to install api and pipeline extras

davidmezzetti1e3db617db4d
diff --git a/docker/api.Dockerfile b/docker/api.Dockerfile
index 185a78ec..1ba8ef9a 100644
--- a/docker/api.Dockerfile
+++ b/docker/api.Dockerfile
@@ -14,10 +14,10 @@ RUN apt-get update && \
apt-get -y --no-install-recommends install libgomp1 libsndfile1 gcc g++ python3.6 python3-dev python3-pip && \
rm -rf /var/lib/apt/lists
-# Install paperetl project and dependencies
+# Install txtai project and dependencies
RUN ln -s /usr/bin/python3.6 /usr/bin/python && \
python -m pip install --no-cache-dir -U pip wheel setuptools && \
- python -m pip install --no-cache-dir txtai && \
+ python -m pip install --no-cache-dir txtai[api,pipeline] && \
python -c "import nltk; nltk.download('punkt')"
# Cleanup build packages