Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
39 additions
and
1 deletion.
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,23 @@ | ||
|
||
FROM ubuntu:14.04 | ||
|
||
MAINTAINER Axisto Media | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y software-properties-common git | ||
RUN add-apt-repository ppa:chris-lea/node.js | ||
RUN apt-get update | ||
RUN apt-get install -y nodejs=0.10.31-1chl1~trusty1 | ||
|
||
ENV NODE_ENV docker | ||
|
||
ADD ./ /jobukyu | ||
WORKDIR /jobukyu | ||
|
||
RUN cp config.example.js config.js | ||
|
||
RUN npm install | ||
|
||
EXPOSE 3800 | ||
|
||
CMD npm start |
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
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,8 @@ | ||
web: | ||
build: . | ||
links: | ||
- mongo | ||
ports: | ||
- "3800:3800" | ||
mongo: | ||
image: mongo:2.7.5 |