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

@ -9,7 +9,7 @@ WORKDIR /app
COPY . .
RUN make -j$(nproc)
RUN make -j$(nproc) main
FROM ubuntu:$UBUNTU_VERSION as runtime