From 3bb1148cd2e1b4ad8b6ce7aa90e414bda56dbb38 Mon Sep 17 00:00:00 2001 From: Juansecu Date: Sat, 11 May 2024 00:04:52 -0500 Subject: [PATCH] BUILD - Reduce size of image by using slim version of Debian --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5038d8d..9e5eb52 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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