Update Dockerfile to install stable node/npm versions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user