update dependencies, switch back to node-lts

This commit is contained in:
tawoe 2024-10-14 15:35:50 +02:00
parent 3a8707c3f9
commit 2b6d0e1df6
2 changed files with 38 additions and 36 deletions

View File

@ -1,17 +1,16 @@
# First stage builds the application
FROM node:18.17.1-slim as builder
FROM node:lts-bullseye as builder
# Add application sources
ADD .. /home/node/app/
WORKDIR /home/node/app
# Install the dependencies
RUN npm install -g npm@10.1.0
RUN npm install
RUN npm run build-server
# Run script uses standard ways to run the application
# CMD npm run -d start
FROM node:18.17.1-slim
FROM node:lts-bullseye
COPY --from=builder /home/node/app/dist-server /home/node/app
RUN mkdir /home/node/node_modules

View File

@ -15,64 +15,67 @@
},
"dependencies": {
"@element-plus/icons-vue": "^2.1.0",
"@fontsource/roboto": "^4.5.8",
"@fontsource/roboto": "^5.0.0",
"@highlightjs/vue-plugin": "^2.1.0",
"axios": "^1.7.2",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"connect-redis": "^7.1.1",
"dotenv": "^16.0.3",
"element-plus": "^2.3.0",
"dotenv": "^16.3.1",
"element-plus": "^2.3.9",
"express": "^4.18.2",
"express-session": "^1.17.3",
"highlight.js": "^11.7.0",
"highlight.js": "^11.8.0",
"jsonwebtoken": "^9.0.2",
"markdown-it": "^14.1.0",
"oauth": "^0.10.0",
"obp-typescript": "^1.0.36",
"pinia": "^2.0.32",
"pinia": "^2.0.37",
"prismjs": "^1.29.0",
"redis": "^4.6.13",
"redis": "^4.6.5",
"reflect-metadata": "^0.1.13",
"routing-controllers": "^0.10.3",
"socket.io": "^4.7.5",
"socket.io-client": "^4.7.5",
"routing-controllers": "^0.10.4",
"socket.io": "^4.7.3",
"socket.io-client": "^4.7.3",
"typedi": "^0.10.0",
"uuid": "^9.0.1",
"vue": "^3.2.47",
"vue-i18n": "^9.2.2",
"vue-i18n": "^9.4.0",
"vue-markdown-renderer": "^0.2.7",
"vue-router": "^4.1.6",
"vue-router": "^4.2.2",
"vue-socket.io": "^3.0.10",
"ws": "^8.18.0"
"ws": "^8.14.0"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.2.0",
"@rushstack/eslint-patch": "^1.4.0",
"@types/jsdom": "^21.1.0",
"@types/jsonwebtoken": "^9.0.6",
"@types/markdown-it": "^14.1.1",
"@types/node": "^18.14.2",
"@vitejs/plugin-vue": "^4.0.0",
"@vitejs/plugin-vue-jsx": "^3.0.0",
"@vue/eslint-config-prettier": "^7.1.0",
"@vue/eslint-config-typescript": "^11.0.2",
"@vue/test-utils": "^2.3.0",
"@types/markdown-it": "^14.0.2",
"@types/node": "^20.5.7",
"@vitejs/plugin-vue": "^4.3.0",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/test-utils": "^2.4.0",
"@vue/tsconfig": "^0.1.3",
"eslint": "^8.39.0",
"eslint-plugin-vue": "^9.9.0",
"jsdom": "^21.1.0",
"eslint": "^8.51.0",
"eslint-plugin-vue": "^9.12.0",
"jsdom": "^22.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.4",
"prettier": "^3.0.1",
"superagent": "^8.1.2",
"ts-node": "^10.9.1",
"typescript": "~4.8.4",
"unplugin-auto-import": "^0.15.1",
"unplugin-element-plus": "^0.7.1",
"unplugin-vue-components": "^0.24.1",
"vite": "^4.1.4",
"vite-plugin-node-polyfills": "^0.8.1",
"vite-plugin-rewrite-all": "^1.0.1",
"vitest": "^0.29.1",
"vue-tsc": "^1.2.0"
"typescript": "~5.2.2",
"unplugin-auto-import": "^0.18.0",
"unplugin-element-plus": "^0.8.0",
"unplugin-vue-components": "^0.26.0",
"vite": "^4.4.0",
"vite-plugin-node-polyfills": "^0.10.0",
"vite-plugin-rewrite-all": "^1.0.2",
"vitest": "^0.34.0",
"vue-tsc": "^1.6.5"
}
}