elixir / Dockerfile
enemy7's picture
Update Dockerfile
fe79600 verified
raw
history blame
450 Bytes
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
# you will also find guides on how best to write your Dockerfile
FROM ubuntu:lastest
WORKDIR /
RUN curl -fsSL https://ollama.com/install.sh | sh
RUN source
RUN ollama pull mistral
RUN ollama pull llama2
RUN ollama pull llava
RUN ollama pull all-minilm
RUN ollama pull nomic-embed-text
RUN ollama pull mxbai-embed-large
RUN OLLAMA_HOST=0.0.0.0:2563
CMD ["ollama", "serve" ]