added ollama to jupyter python image
All checks were successful
CI / Build Jupyter python Docker images (push) Successful in 2m16s

This commit is contained in:
2024-11-04 23:09:21 +08:00
parent ff71e27b19
commit 00657673d1

View File

@@ -20,7 +20,7 @@ RUN --mount=type=cache,target=/home/jovyan/.cache/pip,uid=1000,gid=1000 venv/bin
RUN --mount=type=cache,target=/home/jovyan/.cache/pip,uid=1000,gid=1000 venv/bin/pip install python-lsp-server[yapf,rope,pyflakes]
# RUN venv/bin/pip install --no-binary :all: faiss-cpu
RUN --mount=type=cache,target=/home/jovyan/.cache/pip,uid=1000,gid=1000 venv/bin/pip install jupyter-ai
RUN --mount=type=cache,target=/home/jovyan/.cache/pip,uid=1000,gid=1000 venv/bin/pip install langchain-openai==0.1.*
RUN --mount=type=cache,target=/home/jovyan/.cache/pip,uid=1000,gid=1000 venv/bin/pip install langchain-openai==0.1.* langchain_ollama
#RUN venv/bin/pip install pylsp-mypy
ENV PATH="/home/jovyan/venv/bin/:$PATH"