793e02efc4
The result app was years out of date with node and npm packages, and required multiple changes to use the current supported socket.io and postgres db libs. Minimal changes to server.js to support change in pg syntax. A few minor changes to Dockerfile to improve readability, conform to docker best practices, and change to use npm ci to ensure future builds don't break again due to difference between package and package-lock.
22 lines
445 B
JSON
22 lines
445 B
JSON
{
|
|
"name": "result",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "server.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"author": "",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"async": "^3.1.0",
|
|
"body-parser": "^1.19.0",
|
|
"cookie-parser": "^1.4.4",
|
|
"express": "^4.17.1",
|
|
"method-override": "^3.0.0",
|
|
"pg": "^7.12.1",
|
|
"socket.io": "^2.2.0",
|
|
"stoppable": "^1.1.0"
|
|
}
|
|
}
|