forked from zhukov/webogram
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.git |
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
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"] |