From fba283b5ecadb0f5e61483ca57cc17c0dca681d2 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 14 Aug 2023 14:21:24 -0600 Subject: [PATCH] Dockerfile: Clean npm cache after build Signed-off-by: Zack Cerza --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2280a3c..6d5170c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,6 @@ FROM node:20-alpine RUN mkdir /app WORKDIR /app COPY package*.json /app -RUN npm install +RUN npm install && npm cache clean --force COPY . /app CMD ["npm", "start"] \ No newline at end of file