Fix for broken docker image - llama-cpp-python:latest #1626
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently if you pull the latest image and run, you will face, No such file error due to a filepath change in last commit
@mashuk999 ➜ /workspaces/llama-cpp-python (main) $ docker run -it ghcr.io/abetlen/llama-cpp-python:latest Unable to find image 'ghcr.io/abetlen/llama-cpp-python:latest' locally latest: Pulling from abetlen/llama-cpp-python f11c1adaa26e: Pull complete f2856587ea65: Pull complete 3633d497474f: Pull complete a49add4e8750: Pull complete a503d964c760: Pull complete 3a1a379ae865: Pull complete e2df0e42496e: Pull complete 4f4fb700ef54: Pull complete a6bcd4dec1a1: Pull complete 8bbda24c4a05: Pull complete eb190ca62661: Pull complete b38e68be4046: Pull complete Digest: sha256:fdd7ef0bfbca0a68a918d71c49cb85d5630a418dcfa1484fcb1b854b5f7bd1d7 Status: Downloaded newer image for ghcr.io/abetlen/llama-cpp-python:latest /bin/sh: 0: cannot open /app/run.sh: No such file @mashuk999 ➜ /workspaces/llama-cpp-python (main) $
This fixes the filepath by reverting to original path to ensure llamacpp server can start