Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
fix(image): use latest npm@^9 (#1380)
Browse files Browse the repository at this point in the history
Co-authored-by: Jamie King <jamie.king@aexp.com>
  • Loading branch information
PixnBits and 10xLaCroixDrinker authored Apr 19, 2024
1 parent f301288 commit 15b7c02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG VERSION=lts
# builds as we do not have to run apk installs for alpine.
FROM node:$VERSION as builder
WORKDIR /opt/build
RUN npm install -g npm@9.6.7 --registry=https://registry.npmjs.org
RUN npm install -g npm@9.9.3 --registry=https://registry.npmjs.org
COPY --chown=node:node ./ /opt/build
# npm ci does not run postinstall with root account
RUN NODE_ENV=development npm ci --build-from-source
Expand Down

0 comments on commit 15b7c02

Please sign in to comment.