From 231d9a6e02bd8ef1e333913517832c7027baa026 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Str=C3=B8m?= Date: Fri, 6 Sep 2019 11:20:54 +0200 Subject: [PATCH] Upgrade nodejs and npm --- Dockerfile | 9 +++++---- README.md | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index d40eab3..454b33e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,15 @@ -FROM node +FROM node:12 MAINTAINER Jan-Erik Revsbech - +RUN node -v +RUN npm -v # Install Bower & Grunt RUN npm install -g bower grunt-cli && \ echo '{ "allow_root": true }' > /root/.bowerrc -# Install Webpack 2 -RUN npm install -g webpack +# Install Webpack 3 +RUN npm install -g webpack@3 # Install ruby RUN apt-get update && \ diff --git a/README.md b/README.md index 0163ab5..326d9a6 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ to install these tools locally. The container has workdir /var/www/application. -The container contains node v6.4, ruby v1.9 and compass in version 1.0.3 +The container contains node v12.10, ruby v2.3 and compass in version 1.0.3 Using with docker-compose -------------------------