diff --git a/libcal.dockerfile b/libcal.dockerfile index 170d507..6ebfb3e 100644 --- a/libcal.dockerfile +++ b/libcal.dockerfile @@ -1,4 +1,4 @@ -FROM node:20.11.1-alpine as builder +FROM node:20.17.0-alpine as builder WORKDIR /app # Install dependencies @@ -10,7 +10,7 @@ COPY libcal/src ./src COPY libcal/tsconfig.json ./ RUN npm run build -FROM node:20.11.1-alpine as runner +FROM node:20.17.0-alpine as runner ENV NODE_ENV production WORKDIR /app diff --git a/libcal/package-lock.json b/libcal/package-lock.json index 915a25d..c853a8f 100644 --- a/libcal/package-lock.json +++ b/libcal/package-lock.json @@ -21,7 +21,7 @@ "@types/cors": "2.8.13", "@types/express": "4.17.17", "@types/luxon": "^3.2.0", - "@types/node": "18.16.18", + "@types/node": "20.16.5", "nodemon": "^2.0.20", "ts-node": "10.9.1", "typescript": "4.9.5" @@ -170,10 +170,14 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.16.18", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.18.tgz", - "integrity": "sha512-/aNaQZD0+iSBAGnvvN2Cx92HqE5sZCPZtx2TsK+4nvV23fFe09jVDvpArXr2j9DnYlzuU9WuoykDDc6wqvpNcw==", - "dev": true + "version": "20.16.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.5.tgz", + "integrity": "sha512-VwYCweNo3ERajwy0IUlqqcyZ8/A7Zwa9ZP3MnENWcB11AejO+tLy3pu850goUW2FC/IJMdZUfKpX/yxL1gymCA==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~6.19.2" + } }, "node_modules/@types/qs": { "version": "6.9.11", @@ -1639,6 +1643,13 @@ "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==", "dev": true }, + "node_modules/undici-types": { + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "dev": true, + "license": "MIT" + }, "node_modules/unpipe": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", diff --git a/libcal/package.json b/libcal/package.json index 142a9c7..e7083ac 100644 --- a/libcal/package.json +++ b/libcal/package.json @@ -25,7 +25,7 @@ "@types/cors": "2.8.13", "@types/express": "4.17.17", "@types/luxon": "^3.2.0", - "@types/node": "18.16.18", + "@types/node": "20.16.5", "nodemon": "^2.0.20", "ts-node": "10.9.1", "typescript": "4.9.5" diff --git a/nss.dockerfile b/nss.dockerfile index af995e5..519b946 100644 --- a/nss.dockerfile +++ b/nss.dockerfile @@ -1,4 +1,4 @@ -FROM node:20.11.1-alpine as builder +FROM node:20.17.0-alpine as builder WORKDIR /app # Install dependencies @@ -10,7 +10,7 @@ COPY nss/src ./src COPY nss/tsconfig.json ./ RUN npm run build -FROM node:20.11.1-alpine as runner +FROM node:20.17.0-alpine as runner ENV NODE_ENV production WORKDIR /app