Skip to content

Instantly share code, notes, and snippets.

@dburrows
Created July 25, 2014 15:09
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 dburrows/8279298b32e47557eb3c to your computer and use it in GitHub Desktop.
Save dburrows/8279298b32e47557eb3c to your computer and use it in GitHub Desktop.
FROM ubuntu:14.04
RUN apt-get -y update
RUN apt-get -y install software-properties-common
RUN add-apt-repository ppa:chris-lea/node.js
RUN apt-get -y update
RUN apt-get -y install nodejs
ADD . /src
RUN cd /src; npm install
EXPOSE 8080
CMD ["nodejs", "/src/index.js"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment