Skip to content

Commit

Permalink
Adding Dockerfile and adjusting the procfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
darron committed Apr 15, 2015
1 parent 7e7f033 commit 542131b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM octohost/nodejs

ENV PORT 3000

ADD . /srv/www

WORKDIR /srv/www

RUN npm install

RUN make

EXPOSE 3000

CMD ./bin/slackin --channel $SLACK_CHANNEL --port $PORT $SLACK_SUBDOMAIN $SLACK_API_TOKEN
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: make && bin/slackin --port $PORT $SLACK_SUBDOMAIN $SLACK_API_TOKEN
web: make && bin/slackin --port $PORT $SLACK_SUBDOMAIN $SLACK_API_TOKEN -c $SLACK_CHANNEL

0 comments on commit 542131b

Please sign in to comment.