From 7f0713cbd84157a23605fc2815da44d04caba0dc Mon Sep 17 00:00:00 2001 From: Rob McGinley Date: Sun, 24 Jan 2016 22:28:46 -0500 Subject: Grr node on alpine no fun... --- Dockerfile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4552a55..7cbd1fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,17 @@ -FROM alpine:latest +FROM debian:jessie -RUN apk update && apk add g++ make nodejs python ruby +RUN apt-get update && apt-get -y install apt-transport-https curl g++ make python ruby + +RUN curl -sL https://deb.nodesource.com/setup_4.x | bash - + +RUN apt-get -y install nodejs COPY . /var/www/pev WORKDIR /var/www/pev -RUN npm install --unsafe-perm +RUN npm install -g gulp + +RUN npm install -CMD npm start +CMD cd /var/www/pev && npm start -- cgit v1.2.3