Closed 0lzi closed 1 year ago
RUN npm install -g npm@9.4.2
in the Dockerfile
does get rid of the warning
EDIT:
Also this does increase the size of the final image considerably
repo/octopus-energy-metrics npmfix 320babcb6d0b 20 seconds ago 250MB
repo/octopus-energy-metrics node19.6.0 81df6228dac2 16 minutes ago 237MB
repo/octopus-energy-metrics latest 2253c252366b 23 minutes ago 181MB
Built fine but still doesn't have the latest npm installed
adding
RUN npm install -g npm@9.4.2
to theDockerfile
made the build very slow