Spaces:
Build error
Build error
Update Dockerfile
Browse files- 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 |
# 设置启动命令(踩坑记录: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 |
+
RUN echo "Pulling"
|
12 |
+
RUN ollama pull mistral:instruct
|
13 |
+
|
14 |
# 设置启动命令(踩坑记录:CMD无法覆盖ollama/ollama镜像的ENTRYPOINT,导致一致报错,改用ENTRYPOINT就可以解决)
|
15 |
# CMD ["litellm", "--model", "ollama/deepseek-llm:67b-chat"]
|
16 |
# 设置ENTRYPOINT
|