Commit ae471e5 1 parent 9868698 commit ae471e5 Copy full SHA for ae471e5
File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,16 @@ RUN yarn install --frozen-lockfile --ignore-scripts
8
8
9
9
RUN yarn build
10
10
11
- RUN yarn install --production --frozen-lockfile --ignore-scripts --prefer-offline
11
+ RUN yarn install --production --frozen-lockfile --ignore-scripts --prefer-offline
12
12
13
13
FROM node:18-alpine
14
14
15
+ # Update OpenSSL to address CVE-2023-6237
16
+ RUN apk update && \
17
+ apk upgrade openssl && \
18
+ apk add tini && \
19
+ rm -rf /var/cache/apk/*
20
+
15
21
ENV NODE_ENV production
16
22
17
23
WORKDIR /unleash-proxy
@@ -22,7 +28,6 @@ RUN rm -rf /usr/local/lib/node_modules/npm/
22
28
23
29
RUN chown -R node:node /unleash-proxy
24
30
25
- RUN apk add --no-cache tini
26
31
ENTRYPOINT ["/sbin/tini" , "--" ]
27
32
28
33
EXPOSE 4242
You can’t perform that action at this time.
0 commit comments