Skip to content

Commit

Permalink
Fix Docker Build
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Wolf committed Nov 13, 2024
1 parent 202961c commit 575535e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 575535e

Please sign in to comment.