Skip to content

Instantly share code, notes, and snippets.

@joerter
Last active January 23, 2016 20:55
Show Gist options
  • Save joerter/554607fe8cee6a07a355 to your computer and use it in GitHub Desktop.
Save joerter/554607fe8cee6a07a355 to your computer and use it in GitHub Desktop.
const http = require('http');
const port = 3000;
http.createServer((req, res) => {
res.writeHead(200, { 'Content-Type': 'text/plain' });
res.end('Dockerized!\n');
}).listen(port, () => {
console.log(`Server running at http://0.0.0.0:${port}/`);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment