zhengr commited on
Commit
31937f5
·
verified ·
1 Parent(s): b1a1d68

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -29,8 +29,6 @@ RUN python -m pip install --upgrade -i "$PIP_INDEX" pip && \
29
  pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu && \
30
  pip install -i "$PIP_INDEX" --upgrade-strategy only-if-needed -r /inference/xinference/deploy/docker/requirements_cpu.txt && \
31
  pip install "llama-cpp-python==0.2.77" --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu && \
32
- pip install litellm \
33
- pip install 'litellm[proxy]' \
34
  cd /inference && \
35
  python setup.py build_web && \
36
  git restore . && \
@@ -47,6 +45,8 @@ COPY --chown=user . $HOME/app
47
 
48
  RUN pwd
49
  RUN ls
 
 
50
 
51
  EXPOSE 9997
52
 
 
29
  pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu && \
30
  pip install -i "$PIP_INDEX" --upgrade-strategy only-if-needed -r /inference/xinference/deploy/docker/requirements_cpu.txt && \
31
  pip install "llama-cpp-python==0.2.77" --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu && \
 
 
32
  cd /inference && \
33
  python setup.py build_web && \
34
  git restore . && \
 
45
 
46
  RUN pwd
47
  RUN ls
48
+ RUN pip install litellm
49
+ RUN pip install 'litellm[proxy]'
50
 
51
  EXPOSE 9997
52