Skip to content

Instantly share code, notes, and snippets.

@rtgibbons
Created November 8, 2013 19:37
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 rtgibbons/7376396 to your computer and use it in GitHub Desktop.
Save rtgibbons/7376396 to your computer and use it in GitHub Desktop.
Dockerfile for Ghost demo server on ubuntu 12.10
# DOCKER-VERSION 0.6.6
FROM ubuntu:12.10
# Install Node.js from Chris Lea's PPA to get v0.10.x
RUN apt-get install -y software-properties-common
RUN add-apt-repository ppa:chris-lea/node.js
RUN apt-get update
RUN apt-get install -y nodejs
ADD . /var/www
RUN cd /var/www; npm install --production
EXPOSE 2368
WORKDIR /var/www
CMD ["node", "/var/www/index"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment