
FROM ubuntu:14.04

MAINTAINER Sharry Stowell

RUN apt-get -y update

# Install pre-reqs
RUN apt-get -y -qq install python-software-properties git build-essential wget

# Install Node
RUN \
  wget -O - http://nodejs.org/dist/v0.10.29/node-v0.10.29-linux-x64.tar.gz \
  | tar xzf - --strip-components=1 --exclude="README.md" --exclude="LICENSE" \
  --exclude="ChangeLog" -C "/usr/local"

ENV NODE_ENV development

EXPOSE 3001

# Set the working directory
WORKDIR /src

# Global NPM installs
RUN npm install --silent -g gulp mocha bower nodemon

CMD ["/bin/bash"]
