Skip to content

Commit

Permalink
fix: remove llama.cpp dependencies from base image
Browse files Browse the repository at this point in the history
  • Loading branch information
fangyinc committed Aug 18, 2023
1 parent 51ad834 commit ca34462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ WORKDIR /app

RUN pip3 install --upgrade pip -i $PIP_INDEX_URL \
&& pip3 install -i $PIP_INDEX_URL . \
&& pip3 install -i $PIP_INDEX_URL ".[llama_cpp]" \
# && pip3 install -i $PIP_INDEX_URL ".[llama_cpp]" \
&& (if [ "${LANGUAGE}" = "zh" ]; \
# language is zh, download zh_core_web_sm from github
then wget https://github.com/explosion/spacy-models/releases/download/zh_core_web_sm-3.5.0/zh_core_web_sm-3.5.0-py3-none-any.whl -O /tmp/zh_core_web_sm-3.5.0-py3-none-any.whl \
Expand Down

0 comments on commit ca34462

Please sign in to comment.