BUILD - Reduce size of image by using slim version of Debian

This commit is contained in:
Juansecu 2024-05-11 00:04:52 -05:00
parent a7d745a218
commit 3bb1148cd2

View File

@ -1,5 +1,5 @@
# build
FROM debian:latest as build
FROM debian:stable-slim as build
WORKDIR /usr/src/app
@ -17,7 +17,7 @@ COPY Makefile CMakeLists.txt version.h.in ./
RUN make -j8
# prod
FROM debian:latest
FROM debian:stable-slim
WORKDIR /usr/src/app