From d5c7f0a580e1069db98e20c727647cd720cf8d89 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Mon, 14 Nov 2022 19:13:32 +0100 Subject: [PATCH] Make apk package install more elegant --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c1cf0d0..ecda5d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,9 +11,9 @@ RUN npm install RUN npm prune --production # Install required apk-packages & delete cache -RUN apk update && apk add tcpdump && rm -rf /var/cache/apk/* +RUN apk add --no-cache tcpdump # Bundle app source COPY ./src/ . -CMD ["npm", "run", "start"] \ No newline at end of file +CMD ["npm", "run", "start"]