Skip to content

Commit a62dda3

Browse files
committed
Fixed Makefile
1 parent 06bd7a1 commit a62dda3

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

Dockerfile.llamacpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN apt-get update \
1313
&& apt-get -y install libcurl4-openssl-dev
1414
WORKDIR /app
1515
COPY . .
16-
RUN LLAMA_CURL=1 GGML_CUDA=1 CUDA_DOCKER_ARCH=all make -j$(nproc) llama-server
16+
RUN LLAMA_CURL=1 GGML_CUDA=1 CUDA_DOCKER_ARCH=all make -j$(nproc) llamacpp
1717

1818
# runtime image
1919
FROM --platform=${ARCH} ${BASE_IMAGE_RUNTIME} AS runtime

Makefile

+3-7
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,9 @@ docker-cuda: docker-dep
5454

5555
# Build docker container - assume we need to build the base images?
5656
docker-cuda-push: docker-cuda
57-
@echo "Building ${DOCKER_TAG_LLAMACPP}"
58-
@${DOCKER} build \
59-
--tag ${DOCKER_TAG_LLAMACPP} \
60-
--build-arg ARCH=${ARCH} \
61-
--build-arg BASE_IMAGE_BUILD=${DOCKER_TAG_BASE_BUILD} \
62-
--build-arg BASE_IMAGE_RUNTIME=${DOCKER_TAG_BASE_RUNTIME} \
63-
-f Dockerfile.llamacpp .
57+
@echo push docker images
58+
@${DOCKER} push ${DOCKER_TAG_BASE_BUILD}
59+
@${DOCKER} push ${DOCKER_TAG_BASE_RUNTIME}
6460

6561
# Build llama libraries
6662
llamacpp: submodule-checkout

0 commit comments

Comments
 (0)