Spaces:
Sleeping
Sleeping
Fix Dockerfile: single-line CMD JSON array
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -5,7 +5,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 5 |
git build-essential cmake curl ca-certificates pkg-config libcurl4-openssl-dev \
|
| 6 |
&& rm -rf /var/lib/apt/lists/*
|
| 7 |
|
| 8 |
-
# build llama.cpp (HTTP server)
|
| 9 |
WORKDIR /app
|
| 10 |
RUN git clone --depth 1 https://github.com/ggml-org/llama.cpp.git \
|
| 11 |
&& cd llama.cpp && mkdir -p build && cd build \
|
|
@@ -14,7 +14,6 @@ RUN git clone --depth 1 https://github.com/ggml-org/llama.cpp.git \
|
|
| 14 |
-DLLAMA_BUILD_EXAMPLES=ON \
|
| 15 |
-DLLAMA_BUILD_SERVER=ON \
|
| 16 |
-DLLAMA_BUILD_TESTS=OFF \
|
| 17 |
-
-DLLAMA_BUILD_TOOLS=OFF \
|
| 18 |
.. \
|
| 19 |
&& cmake --build . --target llama-server -j
|
| 20 |
|
|
|
|
| 5 |
git build-essential cmake curl ca-certificates pkg-config libcurl4-openssl-dev \
|
| 6 |
&& rm -rf /var/lib/apt/lists/*
|
| 7 |
|
| 8 |
+
# build llama.cpp (HTTP server in tools/server)
|
| 9 |
WORKDIR /app
|
| 10 |
RUN git clone --depth 1 https://github.com/ggml-org/llama.cpp.git \
|
| 11 |
&& cd llama.cpp && mkdir -p build && cd build \
|
|
|
|
| 14 |
-DLLAMA_BUILD_EXAMPLES=ON \
|
| 15 |
-DLLAMA_BUILD_SERVER=ON \
|
| 16 |
-DLLAMA_BUILD_TESTS=OFF \
|
|
|
|
| 17 |
.. \
|
| 18 |
&& cmake --build . --target llama-server -j
|
| 19 |
|