diff --git a/Dockerfile b/Dockerfile index 2637e1a48..8e60630e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine as builder +FROM node:20-alpine as builder WORKDIR /app COPY ["./yarn.lock", "./package.json", "./decorate-angular-cli.js", "./"] @@ -8,7 +8,7 @@ COPY . ./ RUN yarn ng run frontend:build:production && \ yarn ng run frontend:server:production -FROM node:16-alpine +FROM node:20-alpine WORKDIR /app # RUN mkdir -p ./dist/frontend/ ./apps/frontend/dist/ COPY --from=builder ["/app/dist/frontend/server/", "./dist/frontend/server/"] diff --git a/package.json b/package.json index 073731718..acb6aab9d 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ "@types/jasmine": "3.9.1", "@types/jasminewd2": "2.0.10", "@types/jsdom": "16.2.5", - "@types/node": "16.10.2", + "@types/node": "20.14.6", "@typescript-eslint/eslint-plugin": "5.3.0", "@typescript-eslint/parser": "5.3.0", "autoprefixer": "10.3.7", diff --git a/yarn.lock b/yarn.lock index f5e0bcb1e..416a2a61d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2936,7 +2936,14 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-15.12.4.tgz#e1cf817d70a1e118e81922c4ff6683ce9d422e26" integrity sha512-zrNj1+yqYF4WskCMOHwN+w9iuD12+dGm0rQ35HLl9/Ouuq52cEtd0CH9qMgrdNmi5ejC1/V7vKEXYubB+65DkA== -"@types/node@16.10.2", "@types/node@>=10.0.0": +"@types/node@20.14.6": + version "20.14.6" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.6.tgz#f3c19ffc98c2220e18de259bb172dd4d892a6075" + integrity sha512-JbA0XIJPL1IiNnU7PFxDXyfAwcwVVrOoqyzzyQTyMeVhBzkJVMSkC1LlVsRQ2lpqiY4n6Bb9oCS6lzDKVQxbZw== + dependencies: + undici-types "~5.26.4" + +"@types/node@>=10.0.0": version "16.10.2" resolved "https://registry.yarnpkg.com/@types/node/-/node-16.10.2.tgz#5764ca9aa94470adb4e1185fe2e9f19458992b2e" integrity sha512-zCclL4/rx+W5SQTzFs9wyvvyCwoK9QtBpratqz2IYJ3O8Umrn0m3nsTv0wQBk9sRGpvUe9CwPDrQFB10f1FIjQ== @@ -12141,6 +12148,11 @@ unbox-primitive@^1.0.1: has-symbols "^1.0.2" which-boxed-primitive "^1.0.2" +undici-types@~5.26.4: + version "5.26.5" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" + integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== + unicode-canonical-property-names-ecmascript@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz#2619800c4c825800efdd8343af7dd9933cbe2818"