zhengr commited on
Commit
919ea52
·
verified ·
1 Parent(s): 6672fc1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -8,6 +8,8 @@ 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
  # 设置启动命令(踩坑记录:CMD无法覆盖ollama/ollama镜像的ENTRYPOINT,导致一致报错,改用ENTRYPOINT就可以解决)
12
  # CMD ["litellm", "--model", "ollama/deepseek-llm:67b-chat"]
13
  # 设置ENTRYPOINT
 
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就可以解决)
14
  # CMD ["litellm", "--model", "ollama/deepseek-llm:67b-chat"]
15
  # 设置ENTRYPOINT