From 89cecb20d8af56764cdff4d6f1d76f7446775a8f Mon Sep 17 00:00:00 2001 From: CyanoFresh Date: Tue, 17 Aug 2021 01:52:47 +0300 Subject: [PATCH] npm cache clean --- app1/Dockerfile | 2 +- app2/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app1/Dockerfile b/app1/Dockerfile index aa404f7..06c09d5 100644 --- a/app1/Dockerfile +++ b/app1/Dockerfile @@ -3,7 +3,7 @@ FROM node:lts-alpine WORKDIR /opt/project COPY package*.json ./ -RUN npm ci --only=production +RUN npm ci --only=production && npm cache clean --force COPY --chown=node:node . . diff --git a/app2/Dockerfile b/app2/Dockerfile index 4ba7d45..61aecdb 100644 --- a/app2/Dockerfile +++ b/app2/Dockerfile @@ -14,7 +14,7 @@ WORKDIR /opt/project COPY package*.json ./ ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true -RUN npm ci --only=production +RUN npm ci --only=production && npm cache clean --force COPY --chown=node:node . .