add basic Dockerfile
This commit is contained in:
parent
05092f61a6
commit
48920c873b
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
FROM ubuntu:22.04
|
FROM python:3-slim-bullseye
|
||||||
RUN apt-get update && apt-get install -y build-essential python3.11 python3-pip
|
RUN apt-get update && apt-get install -y build-essential gcc ninja-build libopenblas-dev
|
||||||
RUN python3.11 -m pip install ollama
|
RUN python -m pip install --upgrade pip setuptools
|
||||||
|
RUN CMAKE_ARGS="-DLLAMA_OPENBLAS=on" FORCE_CMAKE=1 pip install ollama
|
||||||
ENTRYPOINT ["ollama"]
|
ENTRYPOINT ["ollama"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue