Created
November 8, 2013 19:37
-
-
Save rtgibbons/7376396 to your computer and use it in GitHub Desktop.
Dockerfile for Ghost demo server on ubuntu 12.10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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