build only main and server in their docker images

This commit is contained in:
slaren 2024-06-06 00:13:01 +02:00
parent 3d2e79da7f
commit f7d4b7c343
5 changed files with 5 additions and 5 deletions

View file

@ -23,7 +23,7 @@ ENV CUDA_DOCKER_ARCH=${CUDA_DOCKER_ARCH}
# Enable CUDA
ENV LLAMA_CUDA=1
RUN make -j$(nproc)
RUN make -j$(nproc) main
FROM ${BASE_CUDA_RUN_CONTAINER} as runtime