Docker Image for an example web app in Node.js
var express = require('express');
// Constants
var PORT = 8080;
// App
var app = express();
app.get('/', function (req, res) {
res.send('Node.js server is running.\n');
});
app.listen(PORT)
console.log('Running on http://localhost:' + PORT);
Content type
Image
Digest
sha256:07389006a…
Size
315.9 MB
Last updated
almost 11 years ago
docker pull perlan/node-webapp