From 575535e097bec4fac1407b99b2556e5b3f4b97fb Mon Sep 17 00:00:00 2001 From: Fabian Wolf Date: Wed, 13 Nov 2024 09:59:03 +0100 Subject: [PATCH] Fix Docker Build --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9d8a445..39504fb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -55,10 +55,7 @@ WORKDIR /build COPY --from=builder /build/llama.cpp . # Remove unnecessary files -RUN rm llama-* !("llama-server") -RUN rm ggml -RUN rm -r examples -RUN rm -r models +RUN find . -maxdepth 1 \( -name "llama-*" -o -name "ggml" -o -name "examples" -o -name "models" \) ! -name "llama-server" -exec rm -rf {} + # Set the working directory for the application WORKDIR /app