From 83cb32ca296b44dbb41122c64191c8f33f5ee108 Mon Sep 17 00:00:00 2001 From: Soumen Date: Sun, 16 Jul 2023 19:46:38 +0200 Subject: [PATCH] Update Dockerfile Cleaning up Dockerfile after installing packages --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 57b88d7..01cbd74 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,8 @@ FROM base as build # Install packages needed to build node modules RUN apt-get update -qq && \ - apt-get install -y python-is-python3 pkg-config build-essential + apt-get install -y python-is-python3 pkg-config build-essential && \ + apt-get clean && rm -rf /var/lib/apt/lists/* # Install node modules COPY --link package-lock.json package.json ./