Skip to content

Instantly share code, notes, and snippets.

@davidblurton
Created November 14, 2014 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidblurton/30b98e0c39402954097d to your computer and use it in GitHub Desktop.
Save davidblurton/30b98e0c39402954097d to your computer and use it in GitHub Desktop.
FROM stackbrew/ubuntu:trusty
RUN apt-get update && apt-get install -y software-properties-common --force-yes && add-apt-repository -y ppa:chris-lea/node.js
RUN apt-get update && apt-get -y install nodejs
RUN npm install -g grunt-cli bower gulp
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
WORKDIR /srv/www
ADD . /srv/www
RUN npm install
EXPOSE 3000
CMD node index
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment