diff --git a/Dockerfile b/Dockerfile index a19e9acfb..bc2f7e6dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:latest +FROM node:14 RUN apt-get update \ && apt-get install -y --no-install-recommends \ @@ -11,7 +11,8 @@ ENV PATH=$NPM_CONFIG_PREFIX/bin:$PATH USER node RUN npm --loglevel=warn install -g \ - assetgraph-builder \ - svgo + assetgraph-builder \ + svgo \ + && npm cache clean --force ENTRYPOINT ["buildProduction"]