From 1251a5ba0197979edef2892fc371e6c3c692bead Mon Sep 17 00:00:00 2001 From: Daniel Sparing Date: Thu, 16 Sep 2021 09:28:51 -0500 Subject: [PATCH] copy server.js from solutions --- notebooks/docker_and_kubernetes/labs/src/server.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 notebooks/docker_and_kubernetes/labs/src/server.js diff --git a/notebooks/docker_and_kubernetes/labs/src/server.js b/notebooks/docker_and_kubernetes/labs/src/server.js new file mode 100644 index 00000000..e12407ad --- /dev/null +++ b/notebooks/docker_and_kubernetes/labs/src/server.js @@ -0,0 +1,7 @@ +var http = require('http'); +var handleRequest = function(request, response) { + response.writeHead(200); + response.end("Hello World!\n"); +} +var www = http.createServer(handleRequest); +www.listen(8000); \ No newline at end of file