Public Repository

Last pushed: a year ago
Short Description
HTTP 200 on assigned port
Full Description

const http = require ('http');

const server = http.createServer((req, res) => {
res.statusCode = 200;
res.end();
});

const port = process.env.PORT;

server.listen(port);

console.log('listening on port ' + port);

Docker Pull Command
Owner
eyston

Comments (0)