Skip to content

Instantly share code, notes, and snippets.

@ryanbennettvoid
Last active September 25, 2015 21:54
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
# Dockerfile for a generic Ubuntu Node.js server
FROM ubuntu:14.04
RUN apt-get update
RUN apt-get install -y wget curl npm
RUN npm install -g n
RUN n stable
RUN ln -s /usr/bin/nodejs /usr/bin/node
RUN npm install -g nodemon
RUN mkdir /app
RUN cd /app
RUN npm init -y
RUN npm install express --save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment