diff --git a/Dockerfile b/Dockerfile index 58793fd5a9..b11fc974c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ # the best way to minimize the number of node_module restores and build steps # while still keeping the final image small. -FROM node:20.14-alpine as build +FROM node:20.19.4-alpine as build # update apk repository and install build dependencies RUN apk update && apk add --no-cache --virtual .gyp \ @@ -43,7 +43,7 @@ RUN yarn --cwd ./redisinsight/api install --production COPY ./redisinsight/api/.yarnclean.prod ./redisinsight/api/.yarnclean RUN yarn --cwd ./redisinsight/api autoclean --force -FROM node:20.14-alpine +FROM node:20.19.4-alpine # runtime args and environment variables ARG NODE_ENV=production diff --git a/redisinsight/api/package.json b/redisinsight/api/package.json index 1415a41576..c649892911 100644 --- a/redisinsight/api/package.json +++ b/redisinsight/api/package.json @@ -50,7 +50,8 @@ "winston-daily-rotate-file/**/file-stream-rotator": "^1.0.0", "**/form-data": "^4.0.4", "form-data": "^4.0.4", - "supertest/**/form-data": "^4.0.4" + "supertest/**/form-data": "^4.0.4", + "**/multer": "^2.0.2" }, "dependencies": { "@nestjs/common": "^11.0.20", diff --git a/redisinsight/api/yarn.lock b/redisinsight/api/yarn.lock index 41dcb52bfb..2649c5b8ed 100644 --- a/redisinsight/api/yarn.lock +++ b/redisinsight/api/yarn.lock @@ -5967,10 +5967,10 @@ ms@^2.0.0, ms@^2.1.1, ms@^2.1.3: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== -multer@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/multer/-/multer-2.0.1.tgz#3ed335ed2b96240e3df9e23780c91cfcf5d29202" - integrity sha512-Ug8bXeTIUlxurg8xLTEskKShvcKDZALo1THEX5E41pYCD2sCVub5/kIRIGqWNoqV6szyLyQKV6mD4QUrWE5GCQ== +multer@2.0.1, multer@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/multer/-/multer-2.0.2.tgz#08a8aa8255865388c387aaf041426b0c87bf58dd" + integrity sha512-u7f2xaZ/UG8oLXHvtF/oWTRvT44p9ecwBBqTwgJVq0+4BW1g8OW01TyMEGWBHbyMOYVHXslaut7qEQ1meATXgw== dependencies: append-field "^1.0.0" busboy "^1.6.0"