Update Dockerfile and README for latest image version
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
## How to use
|
||||
|
||||
Start a runpod serverless with the docker container ``svenbrnn/runpod-ollama:0.5.7``. Set ``MODEL_NAME`` environment to a model from ollama.com to automatically download a model.
|
||||
Start a runpod serverless with the docker container ``svenbrnn/runpod-ollama:latest``. Set ``MODEL_NAME`` environment to a model from ollama.com to automatically download a model.
|
||||
A mounted volume will be automatically used.
|
||||
|
||||
## Environment variables
|
||||
|
||||
+1
-3
@@ -3,7 +3,7 @@ ARG OLLAMA_VERSION=0.5.7
|
||||
# Use an official base${OLLAMA_VERSION} image with your desired version
|
||||
FROM ollama/ollama:${OLLAMA_VERSION}
|
||||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
# Set up the working directory
|
||||
WORKDIR /
|
||||
@@ -23,8 +23,6 @@ RUN apt-get update --yes --quiet && DEBIAN_FRONTEND=noninteractive apt-get insta
|
||||
python3.11-tk \
|
||||
curl \
|
||||
pip && \
|
||||
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 999 && \
|
||||
update-alternatives --config python3 && ln -s /usr/bin/python3 /usr/bin/python && \
|
||||
pip install --upgrade pip && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
Reference in New Issue
Block a user