Skip to content

Commit

Permalink
use the right version of NPM in docker build (#6941)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris48s authored Aug 24, 2021
1 parent 1aea78a commit 92772de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ COPY package.json package-lock.json /usr/src/app/
# Without the badge-maker package.json and CLI script in place, `npm ci` will fail.
COPY badge-maker /usr/src/app/badge-maker/

RUN npm install -g "npm@>=7"
# We need dev deps to build the front end. We don't need Cypress, though.
RUN NODE_ENV=development CYPRESS_INSTALL_BINARY=0 npm ci

Expand Down

0 comments on commit 92772de

Please sign in to comment.