devops : only build specific targets for full image
This commit is contained in:
parent
20f1789dfb
commit
6aaa183ee1
3 changed files with 3 additions and 3 deletions
|
@ -31,6 +31,6 @@ ENV GGML_CUDA=1
|
||||||
# Enable cURL
|
# Enable cURL
|
||||||
ENV LLAMA_CURL=1
|
ENV LLAMA_CURL=1
|
||||||
|
|
||||||
RUN make -j$(nproc)
|
RUN make -j$(nproc) llama-quantize llama-cli llama-server
|
||||||
|
|
||||||
ENTRYPOINT ["/app/.devops/tools.sh"]
|
ENTRYPOINT ["/app/.devops/tools.sh"]
|
||||||
|
|
|
@ -45,6 +45,6 @@ ENV LLAMA_CURL=1
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y libcurl4-openssl-dev
|
apt-get install -y libcurl4-openssl-dev
|
||||||
|
|
||||||
RUN make -j$(nproc)
|
RUN make -j$(nproc) llama-quantize llama-cli llama-server
|
||||||
|
|
||||||
ENTRYPOINT ["/app/.devops/tools.sh"]
|
ENTRYPOINT ["/app/.devops/tools.sh"]
|
||||||
|
|
|
@ -18,7 +18,7 @@ COPY . .
|
||||||
ENV LLAMA_CURL=1
|
ENV LLAMA_CURL=1
|
||||||
|
|
||||||
|
|
||||||
RUN make -j$(nproc)
|
RUN make -j$(nproc) llama-quantize llama-cli llama-server
|
||||||
|
|
||||||
ENV LC_ALL=C.utf8
|
ENV LC_ALL=C.utf8
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue