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}`);
|
||||
})
|
||||
Reference in New Issue
Block a user