Updated dependencies

This commit is contained in:
2025-11-25 09:24:39 +11:00
parent 3c7dd33232
commit 3fec1927c2
4 changed files with 593 additions and 339 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
FROM node:18-bullseye-slim FROM node:24-bullseye-slim
WORKDIR "/app" WORKDIR "/app"
COPY package*.json ./ COPY package*.json ./
RUN npm install RUN npm install
COPY . /app COPY . /app
EXPOSE 4000 EXPOSE 4000
ENTRYPOINT ["bash", "-c"] ENTRYPOINT ["bash", "-c"]
CMD ["npm start"] CMD ["npm start"]
+582 -326
View File
File diff suppressed because it is too large Load Diff
+8 -10
View File
@@ -6,22 +6,20 @@
"scripts": { "scripts": {
"start": "node server/index.js", "start": "node server/index.js",
"dev": "nodemon server/index.js", "dev": "nodemon server/index.js",
"docker": "npm run docker:build && npm run docker:push", "docker": "docker buildx build . --platform linux/amd64 --tag sineql-demo:latest"
"docker:build": "docker buildx build . --platform linux/amd64 --tag docker.krgamestudios.com/krgamestudios/sineql-demo:latest",
"docker:push": "docker push docker.krgamestudios.com/krgamestudios/sineql-demo:latest"
}, },
"keywords": [], "keywords": [],
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"dotenv": "^16.0.3", "dotenv": "^16.6.1",
"express": "^4.18.2", "express": "^4.21.2",
"mariadb": "^3.0.2", "mariadb": "^3.4.5",
"node-fetch": "^2.6.8", "node-fetch": "^2.7.0",
"sequelize": "^6.28.0", "sequelize": "^6.37.7",
"sineql": "^1.0.4" "sineql": "^1.0.5"
}, },
"devDependencies": { "devDependencies": {
"nodemon": "^2.0.22" "nodemon": "^3.1.11"
} }
} }
+1 -1
View File
@@ -30,4 +30,4 @@ const port = process.env.WEB_PORT || 4000;
app.listen(port, async err => { app.listen(port, async err => {
await database.sync(); await database.sync();
console.log(`listening to *:${port}`); console.log(`listening to *:${port}`);
}); });