Sign inSign up

perlan/node-webapp

By perlan

Updated almost 11 years ago

Image
0

1.4K

perlan/node-webapp repository overview

perlan/node-webapp

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);

Tag summary

Content type

Image

Digest

sha256:07389006a

Size

315.9 MB

Last updated

almost 11 years ago

docker pull perlan/node-webapp