diff --git a/Dockerfile b/Dockerfile index 188936acb..24b297716 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM node:20@sha256:df14706cfff86aa0d77d8e5b39642d41209953e3ccb74bddc1519efc52094f1a as deps +FROM --platform=$BUILDPLATFORM node:22@sha256:5c76d05034644fa8ecc9c2aa84e0a83cd981d0ef13af5455b87b9adf5b216561 as deps RUN mkdir /app WORKDIR /app RUN apt-get update && apt-get install -y git python3 build-essential libc-dev @@ -9,7 +9,7 @@ ADD .yarn .yarn ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true RUN yarn -FROM --platform=$TARGETPLATFORM node:20@sha256:df14706cfff86aa0d77d8e5b39642d41209953e3ccb74bddc1519efc52094f1a as platform_deps +FROM --platform=$TARGETPLATFORM node:22@sha256:5c76d05034644fa8ecc9c2aa84e0a83cd981d0ef13af5455b87b9adf5b216561 as platform_deps RUN mkdir /app WORKDIR /app RUN apt-get update && apt-get install -y git python3 build-essential libc-dev @@ -21,7 +21,7 @@ COPY --from=deps /app/.yarnrc.yml .yarnrc.yml ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true RUN yarn -FROM node:20@sha256:df14706cfff86aa0d77d8e5b39642d41209953e3ccb74bddc1519efc52094f1a as base +FROM node:22@sha256:5c76d05034644fa8ecc9c2aa84e0a83cd981d0ef13af5455b87b9adf5b216561 as base RUN mkdir /app WORKDIR /app diff --git a/package.json b/package.json index 2fa4759e1..d18a96541 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "@tsconfig/node16": "^16.0.0", "@types/eslint": "8.56.12", "@types/jest": "^29.2.5", - "@types/node": "^20.0.0", + "@types/node": "^22.0.0", "@types/unzipper": "^0.10.9", "@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/parser": "^7.0.0", diff --git a/yarn.lock b/yarn.lock index ae292430e..e06af22ca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3413,12 +3413,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^20.0.0": - version: 20.17.6 - resolution: "@types/node@npm:20.17.6" +"@types/node@npm:^22.0.0": + version: 22.9.0 + resolution: "@types/node@npm:22.9.0" dependencies: - undici-types: "npm:~6.19.2" - checksum: 10c0/5918c7ff8368bbe6d06d5e739c8ae41a9db41628f28760c60cda797be7d233406f07c4d0e6fdd960a0a342ec4173c2217eb6624e06bece21c1f1dd1b92805c15 + undici-types: "npm:~6.19.8" + checksum: 10c0/3f46cbe0a49bab4ba30494025e4c8a6e699b98ac922857aa1f0209ce11a1313ee46e6808b8f13fe5b8b960a9d7796b77c8d542ad4e9810e85ef897d5593b5d51 languageName: node linkType: hard @@ -4863,7 +4863,7 @@ __metadata: "@tsconfig/node16": "npm:^16.0.0" "@types/eslint": "npm:8.56.12" "@types/jest": "npm:^29.2.5" - "@types/node": "npm:^20.0.0" + "@types/node": "npm:^22.0.0" "@types/unzipper": "npm:^0.10.9" "@typescript-eslint/eslint-plugin": "npm:^7.0.0" "@typescript-eslint/parser": "npm:^7.0.0" @@ -8871,13 +8871,6 @@ __metadata: languageName: node linkType: hard -"undici-types@npm:~6.19.2": - version: 6.19.6 - resolution: "undici-types@npm:6.19.6" - checksum: 10c0/9b2264c5700e7169c6c62c643aac56cd8984c5fd7e18ed31ff11780260e137f6340dee8317a2e6e0ae3c49f5e5ef6fa577ea07193cbaa535265cba76a267cae9 - languageName: node - linkType: hard - "undici-types@npm:~6.19.8": version: 6.19.8 resolution: "undici-types@npm:6.19.8"