[dockerfile] test new config stuff

This commit is contained in:
Alex Quick
2017-01-23 22:56:33 -05:00
parent dd8e1fdf45
commit dfa241d6a9
4 changed files with 34 additions and 1 deletions

View File

@@ -8,6 +8,10 @@ app.get('/', function(request, response) {
response.send('Hello World!')
})
app.get('/env/:key', function(request, response) {
response.send(process.env[request.params["key"]])
})
app.listen(app.get('port'), function() {
console.log("Node app is running at localhost:" + app.get('port'))
})