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"] |
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"] |