diff --git a/Dockerfile b/Dockerfile index 39f6feae4da..0445841b891 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ RUN if [ "$NPM_TOKEN" ]; \ # where available (npm@5+) COPY package*.json ./ -RUN npm install --production +RUN npm install --production && npm cache clean --force; RUN rm -f .npmrc