Kai72828 commited on
Commit
9e5ea7e
·
verified ·
1 Parent(s): e2ad9b1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -12,8 +12,10 @@ RUN curl -L https://github.com/ggml-org/llama.cpp/releases/download/b8468/llama-
12
 
13
  # Put everything in one flat directory so llama-server finds its .so backends
14
  RUN mkdir -p /app/llama \
15
- && find /opt/llama -type f \( -name "llama-server" -o -name "*.so*" \) -exec cp -P {} /app/llama/ \; \
16
- && chmod +x /app/llama/llama-server
 
 
17
 
18
  RUN useradd -m -u 1000 user
19
  USER user
 
12
 
13
  # Put everything in one flat directory so llama-server finds its .so backends
14
  RUN mkdir -p /app/llama \
15
+ && find /opt/llama \( -name "llama-server" -o -name "*.so*" \) -exec cp -a {} /app/llama/ \; \
16
+ && chmod +x /app/llama/llama-server \
17
+ && echo "/app/llama" > /etc/ld.so.conf.d/llama.conf \
18
+ && ldconfig
19
 
20
  RUN useradd -m -u 1000 user
21
  USER user