zhengr commited on
Commit
9b9c197
·
verified ·
1 Parent(s): 53d603e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -8,6 +8,9 @@ RUN apt update && apt install -y python3 && apt install -y python3-pip
8
  RUN pip3 install litellm
9
  RUN pip3 install 'litellm[proxy]'
10
 
 
 
 
11
  #ENV SERVER_ROOT_PATH="/api"
12
 
13
  # 设置启动命令(踩坑记录:CMD无法覆盖ollama/ollama镜像的ENTRYPOINT,导致一致报错,改用ENTRYPOINT就可以解决)
 
8
  RUN pip3 install litellm
9
  RUN pip3 install 'litellm[proxy]'
10
 
11
+ RUN sudo curl -L https://ollama.com/download/ollama-linux-amd64 -o /usr/bin/ollama
12
+ RUN sudo chmod +x /usr/bin/ollama
13
+
14
  #ENV SERVER_ROOT_PATH="/api"
15
 
16
  # 设置启动命令(踩坑记录:CMD无法覆盖ollama/ollama镜像的ENTRYPOINT,导致一致报错,改用ENTRYPOINT就可以解决)