From 0a3a6dbbef745e908dbf83ca38e0fd06f869e061 Mon Sep 17 00:00:00 2001 From: Peter Petrov Date: Wed, 7 Jun 2017 03:19:56 +0300 Subject: [PATCH] Force cache cleaning --- 8.0/onbuild/Dockerfile | 2 +- Dockerfile-onbuild.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/8.0/onbuild/Dockerfile b/8.0/onbuild/Dockerfile index e27e9242..678358fa 100644 --- a/8.0/onbuild/Dockerfile +++ b/8.0/onbuild/Dockerfile @@ -6,7 +6,7 @@ WORKDIR /usr/src/app ONBUILD ARG NODE_ENV ONBUILD ENV NODE_ENV $NODE_ENV ONBUILD COPY package.json /usr/src/app/ -ONBUILD RUN npm install && npm cache clean +ONBUILD RUN npm install && npm cache clean --force ONBUILD COPY . /usr/src/app CMD [ "npm", "start" ] diff --git a/Dockerfile-onbuild.template b/Dockerfile-onbuild.template index 1183e3c5..59e58c9c 100644 --- a/Dockerfile-onbuild.template +++ b/Dockerfile-onbuild.template @@ -6,7 +6,7 @@ WORKDIR /usr/src/app ONBUILD ARG NODE_ENV ONBUILD ENV NODE_ENV $NODE_ENV ONBUILD COPY package.json /usr/src/app/ -ONBUILD RUN npm install && npm cache clean +ONBUILD RUN npm install && npm cache clean --force ONBUILD COPY . /usr/src/app CMD [ "npm", "start" ]