From 73c6aad38728088b0130a46ef54e602c0e58d872 Mon Sep 17 00:00:00 2001 From: James Scott-Brown Date: Sat, 28 Jul 2018 22:47:45 +0100 Subject: [PATCH] Update Dockerfile into a working state - install a more recent version of Node.js, to avoid the deprecation warning "Node.js 0.12 is no longer actively supported! You will not receive security or critical stability updates for this version." - remove invalid install target for nodemon - add dependencies make and g++ --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3aaa088..5d14dae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,15 +5,17 @@ MAINTAINER Maxwell Bates RUN apt-get update RUN apt-get install curl -y RUN apt-get install git -y +RUN apt-get install make -y +RUN apt-get install g++ -y #Node.js https://nodesource.com/blog/nodejs-v012-iojs-and-the-nodesource-linux-repositories -RUN curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - +RUN curl -sL https://deb.nodesource.com/setup_10.x | sudo bash - RUN apt-get install -y nodejs RUN npm install -g grunt-cli RUN npm install -g bower RUN npm install -g forever -RUN npm install -g nodemon@dev +RUN npm install -g nodemon ENV APP /app