changed docker file nest to avoid rebuild everything each time, and small changes in chat gateway

This commit is contained in:
simplonco
2023-01-02 18:08:50 +01:00
parent 32187fa06c
commit 1551ec6499
150 changed files with 49244 additions and 31 deletions

View File

@@ -0,0 +1,9 @@
<!Doctype html>
<html>
<head>
<title>title</title>
</head>
<body>
<h1>hello world</h1>
</body>
</html>

View File

@@ -0,0 +1,17 @@
{
"name": "tests_hugo",
"version": "1.0.0",
"description": "",
"main": "server.js",
"dependencies": {
"express": "^4.18.2"
},
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js"
},
"keywords": [],
"author": "",
"license": "ISC"
}

View File

@@ -0,0 +1,10 @@
const express = require('express')
const server = express()
server.get('/', (req, res) => {
res.sendFile(__dirname + "/" + "index.html")
})
const port = 3000
server.listen(port, console.log(`listening on port ${port} with express`));