[DOCS-DE] Tutorial hello-minikube (#13526)
* Tutorial hello-minikube * Fixed remarks
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
12c51ef8e9
commit
0ee892d4ad
@@ -0,0 +1,4 @@
|
||||
FROM node:6.14.2
|
||||
EXPOSE 8080
|
||||
COPY server.js .
|
||||
CMD node server.js
|
||||
@@ -0,0 +1,9 @@
|
||||
var http = require('http');
|
||||
|
||||
var handleRequest = function(request, response) {
|
||||
console.log('Received request for URL: ' + request.url);
|
||||
response.writeHead(200);
|
||||
response.end('Hello World!');
|
||||
};
|
||||
var www = http.createServer(handleRequest);
|
||||
www.listen(8080);
|
||||
Reference in New Issue
Block a user