Skip to content

Commit

Permalink
Adds a Dockerfile
Browse files Browse the repository at this point in the history
This Dockerfile can be used for building a Docker image of Webogram that
launches a container with Node listening on port 8000.

This image uses the official nginx image as its base.
  • Loading branch information
Vincent Ambo committed Sep 2, 2014
1 parent 160ae72 commit 93c2446
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.git
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM node

ADD . /opt/webogram
WORKDIR /opt/webogram

RUN npm install

EXPOSE 8000

CMD ["node", "server.js", "8000", "0.0.0.0"]

0 comments on commit 93c2446

Please sign in to comment.