Update Dockerfile to install stable node/npm versions

This commit is contained in:
Björn Fromme
2021-10-13 15:54:25 +02:00
parent d51f49f75d
commit ce107a4aa6
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
ARG BASE_IMAGE
FROM $BASE_IMAGE
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::="--force-confold" --no-install-recommends --no-install-suggests jpegoptim optipng gifsicle
RUN npm i -g n && n stable
RUN npm i -g npm