ollama/Dockerfile

6 lines
260 B
Text
Raw Normal View History

2023-06-30 16:17:43 +00:00
FROM python:3-slim-bullseye
RUN apt-get update && apt-get install -y build-essential gcc ninja-build libopenblas-dev
RUN python -m pip install --upgrade pip setuptools
RUN CMAKE_ARGS="-DLLAMA_OPENBLAS=on" FORCE_CMAKE=1 pip install ollama
2023-06-30 14:47:55 +00:00
ENTRYPOINT ["ollama"]