Update Dockerfile and README for latest image version

This commit is contained in:
SvenBrnn
2025-03-19 13:32:58 +01:00
parent e308e89f1f
commit 75db604b5a
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -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
View File
@@ -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/*