Spaces:
Build error
Build error
Update Dockerfile
Browse files- 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"
|
|
|
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"]
|