Skip to content

Instantly share code, notes, and snippets.

@ryanbennettvoid
Last active September 25, 2015 21:54
Show Gist options
  • Save ryanbennettvoid/ebd651c7e8840bce9d35 to your computer and use it in GitHub Desktop.
Save ryanbennettvoid/ebd651c7e8840bce9d35 to your computer and use it in GitHub Desktop.
# 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