Skip to content

Commit

Permalink
Merge pull request assetgraph#817 from Tenzer/fix-docker-image-build
Browse files Browse the repository at this point in the history
Use Node.js v14 for Docker image, not the latest one (v15)
  • Loading branch information
papandreou authored Feb 7, 2021
2 parents a9a68f7 + 28b7337 commit 2e7ae92
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:latest
FROM node:14

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
Expand All @@ -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"]

0 comments on commit 2e7ae92

Please sign in to comment.