From 1443b802cc49522604774fd2d3965c747be62110 Mon Sep 17 00:00:00 2001 From: "Wang, Jian4" <61138589+hzjane@users.noreply.github.com> Date: Fri, 24 May 2024 09:49:44 +0800 Subject: [PATCH] =?UTF-8?q?Docker=EF=BC=9AFix=20building=20cpp=5Fdocker=20?= =?UTF-8?q?and=20remove=20unimportant=20dependencies=20(#11114)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * test build * update --- docker/llm/inference-cpp/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/llm/inference-cpp/Dockerfile b/docker/llm/inference-cpp/Dockerfile index 009df677..63e249f9 100644 --- a/docker/llm/inference-cpp/Dockerfile +++ b/docker/llm/inference-cpp/Dockerfile @@ -49,6 +49,7 @@ RUN wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRO mkdir -p /llm/scripts && cd /llm && \ git clone https://github.com/open-webui/open-webui.git && \ cd /llm/open-webui/ && \ + git checkout e29a999dc910afad91995221cb4bb7c274f87cd6 && \ cp -RPp .env.example .env && \ # Build frontend npm i && \ @@ -57,7 +58,9 @@ RUN wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRO cd ./backend && \ # remove blinker to avoid error find /usr/lib/python3/dist-packages/ -name 'blinker*' -exec rm -rf {} + && \ - pip install -r requirements.txt -U + pip install -r requirements.txt -U && \ + rm -rf /root/.cache/Cypress && \ + pip uninstall -y gunicorn python-jose PyMySQL COPY ./start-llama-cpp.sh /llm/scripts/start-llama-cpp.sh COPY ./start-ollama.sh /llm/scripts/start-ollama.sh