zhengr commited on
Commit
d8ffda1
1 Parent(s): c18b924

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -12,7 +12,9 @@ RUN pip3 install 'litellm[proxy]'
12
 
13
  #ENV SERVER_ROOT_PATH="/api"
14
 
 
 
15
  # 设置启动命令(踩坑记录:CMD无法覆盖ollama/ollama镜像的ENTRYPOINT,导致一致报错,改用ENTRYPOINT就可以解决)
16
  # CMD ["litellm", "--model", "ollama/deepseek-llm:67b-chat"]
17
  # 设置ENTRYPOINT
18
- ENTRYPOINT ["litellm", "--model", "ollama/mistral:7b", "--test", "--health"]
 
12
 
13
  #ENV SERVER_ROOT_PATH="/api"
14
 
15
+ EXPOSE 4000
16
+
17
  # 设置启动命令(踩坑记录:CMD无法覆盖ollama/ollama镜像的ENTRYPOINT,导致一致报错,改用ENTRYPOINT就可以解决)
18
  # CMD ["litellm", "--model", "ollama/deepseek-llm:67b-chat"]
19
  # 设置ENTRYPOINT
20
+ ENTRYPOINT ["litellm", "--model", "ollama/mistral:7b"]