mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-10-31 08:51:55 +00:00
devops: fix missing ggml shared object
failure to load model Signed-off-by: Aaron Teo <aaron.teo1@ibm.com>
This commit is contained in:
@@ -51,11 +51,14 @@ ENV LLAMA_ARG_PORT=8080
|
||||
COPY --from=collector /bin/llama.cpp /
|
||||
COPY --from=collector /lib/llama.cpp /usr/lib/s390x-linux-gnu
|
||||
|
||||
# Fixes model loading errors
|
||||
COPY --from=collector /bin/llama.cpp/*.so /
|
||||
|
||||
# Copy all shared libraries
|
||||
COPY --from=collector /lib/distro /lib/s390x-linux-gnu
|
||||
|
||||
USER nonroot:nonroot
|
||||
WORKDIR /models
|
||||
EXPOSE ${LLAMA_ARG_PORT}
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT [ "/llama-server" ]
|
||||
|
||||
Reference in New Issue
Block a user