index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| var express = require('express');
// Constants
var PORT = 8080;
// App
var app = express();
app.get('/', function (req, res) {
res.send('Hello world\n');
});
app.listen(PORT);
console.log(__dirname)
console.log('Running on http://localhost:' + PORT);
|
package.json
Dockerfile