Skip to content
This repository has been archived by the owner on Feb 2, 2018. It is now read-only.

Commit

Permalink
Merge pull request #164 from andymckay/fix-docker
Browse files Browse the repository at this point in the history
Start zippy on 2605 by default and expose port in docker file.
  • Loading branch information
muffinresearch committed Nov 4, 2014
2 parents f5bdfde + d872ec3 commit 06922b5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ WORKDIR /srv/zippy

RUN npm cache clean
RUN npm install

EXPOSE 2605
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ module.exports = function(grunt) {
dev: {
tasks: ['nodemon:server', 'watch'],
options: {
logConcurrentOutput: false,
logConcurrentOutput: true,
}
},
},
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function main(options) {
var server = http.createServer(zippy.createApp({
options: options,
}));
var port = options.port || 8080;
var port = options.port || 2605;
server.listen(port, function onServerStart() {
var addr = this.address();
console.log('listening at %s:%s', addr.address, addr.port);
Expand Down

0 comments on commit 06922b5

Please sign in to comment.