Add docker-template
This commit is contained in:
9
si/docker-template/src/app.js
Normal file
9
si/docker-template/src/app.js
Normal file
@@ -0,0 +1,9 @@
|
||||
const express = require('express');
|
||||
const app = express();
|
||||
const port = 80;
|
||||
|
||||
app.use(express.static('public'));
|
||||
|
||||
app.listen(port, () => {
|
||||
console.log(`App listening on port ${port}`);
|
||||
})
|
||||
12
si/docker-template/src/public/index.html
Normal file
12
si/docker-template/src/public/index.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Jakub</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Jakub</h1>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user