docker : build only main and server in their images (#7782)

* add openmp lib to dockerfiles

* build only main and server in their docker images
This commit is contained in:
slaren 2024-06-06 07:19:49 +02:00 committed by GitHub
parent d67caea0d6
commit 2d08b7fbb4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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