From 75db604b5ae9e96d89aed68204c3b57e31c84cc0 Mon Sep 17 00:00:00 2001 From: SvenBrnn Date: Wed, 19 Mar 2025 13:32:58 +0100 Subject: [PATCH] Update Dockerfile and README for latest image version --- README.md | 2 +- wrapper/Dockerfile | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 76798f0..93eecac 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/wrapper/Dockerfile b/wrapper/Dockerfile index 562efdd..d898e06 100644 --- a/wrapper/Dockerfile +++ b/wrapper/Dockerfile @@ -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/*