Spaces:
Sleeping
Sleeping
Dmitry Beresnev commited on
Commit ·
db57dc8
1
Parent(s): 25f92ca
fix dockerfile
Browse files10 unmodified lines1112131415161718192021222310 unmodified lines# Clone and build llama.cppWORKDIR /buildRUN git clone https://github.com/ggerganov/llama.cpp.git && \cd llama.cpp && \cmake -B build -DCMAKE_BUILD_TYPE=Release \-DGGML_NATIVE=OFF \-DGGML_AVX2=OFF \-DGGML_OPENMP=OFF && \cmake --build build --config Release --target llama-server -j$(nproc)# Runtime stageFROM debian:bookworm-slim10 unmodified lines111213141516171819202122232425262710 unmodified lines# Clone and build llama.cppWORKDIR /build# Cache bust to force fresh buildARG CACHEBUST=1RUN git clone https://github.com/ggerganov/llama.cpp.git && \cd llama.cpp && \cmake -B build -DCMAKE_BUILD_TYPE=Release \-DGGML_NATIVE=OFF \-DGGML_AVX2=OFF \-DGGML_OPENMP=OFF && \cmake --build build --config Release --target llama-server -j$(nproc) && \echo "=== Binary dependencies ===" && \ldd build/bin/llama-server || true# Runtime stageFROM debian:bookworm-slim
Dockerfile+5-1