Skip to content

Commit

Permalink
Use port 8000 by default
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Nunciato <[email protected]>
  • Loading branch information
cnunciato committed Jun 27, 2018
1 parent e6dae16 commit dec1cea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Then exit the Studio:
And start a Docker container with your newly created image:

```
$ docker run -it -p 3000:3000 <YOUR_ORIGIN>/sample-node-app
$ docker run -it -p 8000:8000 <YOUR_ORIGIN>/sample-node-app
```

Now head to http://localhost:3000 and see your running app!
Now head to http://localhost:8000 and see your running app!
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var app = require('./app');
var http = require('http');
var port = process.env.PORT || 3000;
var port = process.env.PORT || 8000;

app.set('port', port);

Expand Down

0 comments on commit dec1cea

Please sign in to comment.