ztc1997's picture
Update
8b3ebde
raw
history blame
235 Bytes
FROM python:3.11-slim
RUN apt-get update && apt-get install git -y && apt-get install curl -y
RUN curl -fsSL https://ollama.com/install.sh | sh
RUN ollama serve & ollama pull shaw/dmeta-embedding-zh-small-q4
CMD ["ollama", "serve"]