fix(website): install latest `npm` in `Dockerfile` (#12859)

This commit is contained in:
Kevin Wang 2021-10-18 18:21:31 -04:00 committed by GitHub
parent f6c048947c
commit 172fa6d327
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -4,4 +4,5 @@ RUN apk add --update --no-cache git make g++ automake autoconf libtool nasm libp
COPY ./package.json /website/package.json
COPY ./package-lock.json /website/package-lock.json
WORKDIR /website
RUN npm install -g npm@latest
RUN npm install