Merge pull request #102 from Telecominfraproject/fix/wifi-10414-cve-image

[WIFI-10414] Fix: vulnerable NodeJS image
This commit is contained in:
Dmitry Dunaev
2022-08-17 16:34:42 +03:00
committed by GitHub

View File

@@ -1,4 +1,4 @@
FROM node:14-alpine3.11 AS build
FROM node:18.7.0-alpine3.15 AS build
COPY package.json package-lock.json /
@@ -8,7 +8,7 @@ COPY . .
RUN npm run build
FROM nginx:1.20.1-alpine AS runtime
FROM nginx:1.22.0-alpine AS runtime
COPY --from=build /build/ /usr/share/nginx/html/