File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 6
6
# the best way to minimize the number of node_module restores and build steps
7
7
# while still keeping the final image small.
8
8
9
- FROM node:18.15 .0-alpine as build
9
+ FROM node:18.17 .0-alpine as build
10
10
11
11
# build time args and environment variables
12
12
ARG SERVER_TLS_CERT
@@ -47,7 +47,7 @@ RUN yarn --cwd ./redisinsight/api install --production
47
47
COPY ./redisinsight/api/.yarnclean.prod ./redisinsight/api/.yarnclean
48
48
RUN yarn --cwd ./redisinsight/api autoclean --force
49
49
50
- FROM node:18.15.0 -alpine
50
+ FROM node:18.18 -alpine
51
51
52
52
# runtime args and environment variables
53
53
ARG NODE_ENV=production
@@ -62,6 +62,10 @@ ENV SERVER_STATIC_CONTENT=true
62
62
ENV BUILD_TYPE='DOCKER_ON_PREMISE'
63
63
ENV APP_FOLDER_ABSOLUTE_PATH='/data'
64
64
65
+ # this resolves CVE-2023-5363
66
+ # TODO: remove this line once we update to base image that doesn't have this vulnerability
67
+ RUN apk update && apk upgrade --no-cache libcrypto3 libssl3
68
+
65
69
# set workdir
66
70
WORKDIR /usr/src/app
67
71
You can’t perform that action at this time.
0 commit comments