From 298a96bf168e3090b0f5c29bff7b042dec6b2e70 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Fri, 3 Dec 2021 10:48:28 +0100 Subject: [PATCH] apk-install on 1 line and delete cache when done --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d7e4be0..65aee76 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,8 +7,8 @@ WORKDIR /usr/src/app COPY package*.json ./ RUN npm install -RUN apk update -RUN apk add tcpdump +# Install required apk-packages & delete cache +RUN apk update && apk add tcpdump && rm -rf /var/cache/apk/* # Bundle app source COPY ./src/ .