move all code to root
This commit is contained in:
@@ -38,7 +38,7 @@ jobs:
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./.runpod
|
||||
context: ./
|
||||
build-args: OLLAMA_VERSION=${{ inputs.ollama_version }}
|
||||
push: true
|
||||
tags: svenbrnn/runpod-ollama:${{ inputs.ollama_version }}${{ inputs.next_version_suffix }},svenbrnn/runpod-ollama:latest
|
||||
|
||||
@@ -32,7 +32,7 @@ RUN apt-get update --yes --quiet && DEBIAN_FRONTEND=noninteractive apt-get insta
|
||||
WORKDIR /work
|
||||
|
||||
# Add my src as /work
|
||||
ADD engine.py handler.py requirements.txt start.sh test_input.json utils.py /work
|
||||
ADD engine.py handler.py requirements.txt start.sh test_input.json utils.py utils.py /work
|
||||
|
||||
# Set defaut ollama models directory to /runpod-volume where runpod will mount the volume by default
|
||||
ENV OLLAMA_MODELS="/runpod-volume"
|
||||
Reference in New Issue
Block a user